Forum und email

getprotobynumber

(PHP 4, PHP 5)

getprotobynumber — Get protocol name associated with protocol number

Descrição

string getprotobynumber ( int $number )

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

Parâmetros

number

The protocol number.

Valor Retornado

Returns the protocol name as a string.

Veja também