Defines an internet protocol.
#include <netdb.h>
struct protoent {
char *p_name;
char **p_aliases;
short p_proto;
};
Points to the official name of the protocol.
Points to the first element in a list of pointers to alternate names (aliases) for the protocol (null terminates the list).
Specifies the protocol number.