SERVENT

struct servent {
    char FAR *        s_name;
    char FAR * FAR *  s_aliases;
    short             s_port;
    char FAR *        s_proto;
};
 

The members of this structure are:

Element Usage
s_name Official name of the service.
s_aliases A NULL-terminated array of alternate names.
s_port The port number at which the service can be contacted. Port numbers are returned in network byte order.
s_proto The name of the protocol to use when contacting the service.