(PHP 4 )
getservbyport()는 /etc/services의 각 protocol 에 정의된 port와 조합이 되는 인터넷 서비스를 반환합니다. protocol은 TCP이거나 UDP입니다.
참조: getservbyname().