getprotobynumber

(PHP 4, PHP 5, PHP 7)
Get protocol name associated with protocol number
string getprotobynumber ( int $number )

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

Parameters:
number

The protocol number.

Returns:

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

See also:

getprotobyname() -

doc_php
2016-02-24 16:09:43
Comments
Leave a Comment

Please login to continue.