The socket routines make use of several DEC C structures. Table A-1 lists these structures and the header files in which they are defined.
| Structure Name | Header File |
|---|---|
| in_addr | <in.h> |
| sock_addr_in | <in.h> |
| hostent | <netdb.h> |
| netent | <netdb.h> |
| servent | <netdb.h> |
| linger | <socket.h> |
| sock_addr | <socket.h> |
| msghdr | <socket.h> |
| timeval | <socket.h> |
| iovec | <uio.h> |