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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.