home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.