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.