DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Programming with sockets

Protocol names

For protocols, the protoent structure defines the protocol-name mapping used with the routines getprotobyname, getprotobynumber, and getprotoent(S).

   struct protoent {
        char *p_name;          /* official protocol name */
        char **p_aliases;      /* alias list */
        int  p_proto;          /* protocol number */
   };

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005