Network 함수 목록
PHP Manual

getprotobynumber

(PHP 4, PHP 5, PHP 7)

getprotobynumberGet 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.

반환값

Returns the protocol name as a string, 실패 시 FALSE를 반환합니다.

참고


Network 함수 목록
PHP Manual