getprotobyname
getservbyname
Network 함수 목록
PHP Manual

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

### 반환값

Returns the protocol name as a string.

### 참고

- getprotobyname() - Get protocol number associated with protocol name

getprotobyname
getservbyname
Network 함수 목록
PHP Manual