This specification includes the following socket functions:
accept bind close connect getPeerName getSockName getSockOpt listen recv recvFrom select send sendTo setSockOpt shutDown socket
The following basic database functions are also provided:
getHostByAddr getHostByName getHostName getProtoByName getProtoByNumber getServByName getServByPort
These functions answer instances of the classes that represent the structures returned by the interface, (i.e. hostent, servent and protoent structures) and that understand appropriate accessors to retrieve information from the structures.