structure for information from the protocol database
#include <netdb.h> struct protoent { char *p_name; char **p_aliases; int p_proto; };
This structure holds information from the network protocols database, /etc/protocols. The members of this structure are:
POSIX 1003.1g (draft)
endprotoent(), getprotobyname(), getprotobynumber(), getprotoent(), setprotoent()
/etc/protocols in the TCP/IP User's Guide