PHP.nl

getprotobynumber

getprotobynumber

Get protocol name associated with protocol number

 **getprotobynumber** int $protocol
returns the protocol name

associated with protocol as per . getprotobynumber``protocol

protocolThe protocol number.

Returns the protocol name as a string, return.falseforfailure.

getprotobyname