getprotobynumber

 string getprotobynumber ( int $number ) 

説明

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

戻り値

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