getprotobynumber

(PHP4 >= 4.0b4)

getprotobynumber --  Get protocol name associated with protocol number

Description

string getprotobynumber (int number)

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

See also: getprotobyname().