Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/p/protoent.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/p/protoent.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/p/protoent.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/p/protoent.html on line 8

protoent

Structure for information from the protocol database

Synopsis:

#include <netdb.h>

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

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

See also:

endprotoent(), getprotobyname(), getprotobynumber(), getprotoent(), setprotoent()

/etc/protocols in the Utilities Reference


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/p/protoent.html on line 102

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/p/protoent.html on line 102