When SOCKETS(BS2000) is installed, BSD V4.2 and RFC 2553-compliant header files are created. The specific header file(s) to be linked by an application in order to execute a given function can be found under the description of each socket function in the chapter “SOCKETS(BS2000) user functions”.
SOCKETS(BS2000) provides the following header files:
arpa.inet.h
Defines utility functions and macros for manipulating Internet addresses
Defines the in_addr structure, as defined in <netinet.in.h>
icmp6.h
Structures and constants for the communication through a ICMPv6 protocol
ioctl.h
Defines the socket control functions called by soc_ioctl().
ip.icmp.h
Structures and constants for the communication through a ICMPv4 protocol
iso.h
Defines the address structure for the AF_ISO address family
linux.errqueue.h
Defines the error structure for the error analysis (see chapter "Error analysis")
net.if.h
Structures for the packet switching interface
netdb.h
Structures and function declarations for address conversion utilities
Defines the flags for controlling the address conversion utilities
Defines the error messages for the address conversion utilities
netinet.in.h
Defines the address structure for the Internet domains (AF_INET, AF_INET6)
Symbolic constants for protocol types
Test macros for the AF_INET6 domain
sys.poll.h
Defines the soc_poll() function
sys.socket.h
Defines the socket address structure and other structures for socket system functions
Declares the socket system calls
Symbolic constants for socket options and socket types
sys.time.h
timval structure for select() and subfunction linger
sys.uio.h
Data structure msghdr for the transfer of data in individual packets for sendmsg() and recvmsg()