|
|
<<node.port> <node.port>>node is the four-byte Internet address, and port is two bytes identifying the network interface. The first <node.port> pair identifies the local socket; the second identifies the remote (foreign) socket.
SCO TCP/IP supports sockets in both the Internet and UNIX domains. A communication domain is a type of network with particular conventions, such as how sockets are named and used. Sockets exchange data only with sockets in the same domain.
Several functions you may find useful throughout this chapter:
The netstat(TC) function displays the status of any existing UNIX domain socket connections. The activity status of the user processes can be seen in the Active Connections display. If both sides of a socket pair are operating on the local machine, each is listed separately.
The Internet address manipulation routines (inet_addr, inet_aton, inet_network, inet_ntoa, inet_lnaof, inet_makeaddr, inet_netof) convert between different address formats. For more information, see inet(SLIB).