Defines an internet service.
#include <netdb.h> struct servent { char *s_name; char **s_aliases; short s_port; char s_proto; };
Points to the official name of the service.
Points to the first element in a list of pointers to alternate names (aliases) for the service (null terminates the list).
Specifies the port the service is using, in network byte order.
Specifies the name of the protocol to use when contacting the service.