/sys$common/syshlp/helplib.hlb CC, Socket Routines, getservbyname *Conan The Librarian (sorry for the slow response - running on an old VAX) |
Gets information on the named service from the network services database. It searches the services database until a matching service name is found or until an EOF is encountered. If a non-null protocol name is also supplied, searches must also match the protocol. Syntax: #include <netdb.h> struct servent *getservbyname(char *name, char *proto);
|