start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: getprotobyname Chapter 5
Function Reference
Next: Reference: getprotoent
 

getprotobynumber

getprotobynumber 
number

Translates a protocol number to its corresponding name. The return value in list context is:

($name, $aliases, $protocol_number)
In scalar context, getprotobynumber returns only the protocol name.


Previous: Reference: getprotobyname Perl in a Nutshell Next: Reference: getprotoent
Reference: getprotobyname Book Index Reference: getprotoent