getprotobynumber

Example

 string getprotobynumber ( int $number ) 

Description

getprotobynumber() returns the protocol name associated with protocol number as per /etc/protocols.

Return Values

Returns the protocol name as a string, or FALSE on failure.