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(3N).

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

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004