getprotobynumber
(PHP 4, PHP 5)
getprotobynumber — Get protocol name associated with protocol number
說明
string getprotobynumber
( int $number
)
getprotobynumber() returns the protocol name associated with protocol number as per /etc/protocols.
參數
- number
-
The protocol number.
Return值
Returns the protocol name as a string.