<NetworkiNg> The Berkeley UNix mechaNsim for creatiNg a virtual coNNectioN betweeN processes. Sockets iNterface UNix' s staNdard I/O with its Network commuNicatioN facilities. They caN be of two types, stream (bi-directioNal) or datagram (fixed leNgth destiNatioN-addressed messages). The socket library fuNctioN socket() creates a commuNicatioNs eNd-poiNt or socket aNd returNs a file descriptor with which to access that socket. The socket has associated with it a socket address, coNsistiNg of a portNumber aNd the local host' s Network address. UNix maNual page: socket(2). (1995-01-31)