Loading...
Select Version
&pagelevel(3)&pagelevel
When SOCKETS(POSIX) is installed, X/Open-compliant header files are copied into the /usr/include directory. In "SOCKETS(POSIX) user functions" and "XTI(POSIX) user functions", the description of the socket or XTI function also specifies which header file(s) the application must include to execute the function concerned.
SOCKETS/XTI(POSIX) provides the following header files:
arpa/inet.h
- definition of utility functions and macros for manipulating Internet addresses
- definition of the data types in in_port_t and in_addr_t as defined in <netinet/in.h>
- definition of the in_addr structure as defined in <netinet/in.h>
net/if.h
- definition of structures for the packet the packet switching interface
net/if_arp.h
- definition of data structures for the address resolution protocol ARP
netdb.h
- definition of structures and function declarations for address conversion utilities
- definition of the flags for controlling the address conversion utilities
- definition of the error messages for the address conversion utilities
netinet/icmp6.h
- definition of IPv6 data structures for the ICMP protocol
netinet/in.h
- definition of the address structure for the Internet domains (AF_INET, AF_INET6)
- definition of symbolic constants for protocol types
- definition of test macros for the AF_INET6 domain
sys/byteorder.h
- definition of macros for converting the byte sequence
sys/netconfig.h
- definition of the netconfig data structure
sys/socket.h
- definition of the socket address structure and other structures for socket system functions
- declaration of the socket system calls
- definition of symbolic constants for socket options and socket types
sys/sockio.h
definition of the socket control functions called by ioctl()
sys/un.h
- definition of address structure for UNIX domain sockets (AF_UNIX)
sys/xti_inet.h
- definition of Internet-specific structures and options of the transport provider
xti.h
- declaration of the XTI functions
- definition of structures and constants of the transport provider
- definition of symbolic constants for XTI error codes
- definition of states and options of the transport endpoint