PHP Manual
This manual is provided as a courtesy. It is not an official source. Please check php.net for updated information.
(PHP 4, PHP 5)
getprotobynumber() returns the protocol name associated with protocol number as per /etc/protocols.
See also: getprotobyname().