protoent

Structure for information from the protocol database

Synopsis:

#include <netdb.h>

struct protoent {
     char *  p_name;
     char ** p_aliases;
     int     p_proto;
};

Since:

BlackBerry 10.0.0

Description:

The protoent structure holds information from the network protocols database, /etc/protocols. The members of this structure are:

p_name
The name of the protocol.
p_aliases
A zero-terminated list of alternate names for the protocol.
p_proto
The protocol number.

Classification:

POSIX 1003.1

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus