Query: getservbyport
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GETSERVBYPORT(3) 1 GETSERVBYPORT(3) getservbyport - Get Internet service which corresponds to port and protocolSYNOPSISstring getservbyport (int $port, string $protocol)DESCRIPTIONgetservbyport(3) returns the Internet service associated with $port for the specified $protocol as per /etc/services.PARAMETERSo $port - The port number. o $protocol -$protocol is either "tcp" or "udp" (in lowercase).RETURN VALUESReturns the Internet service name as a string.SEE ALSOgetservbyname(3). PHP Documentation Group GETSERVBYPORT(3)
Related Man Pages |
---|
getservbyname(3n) - bsd |
getservbyport(3n) - bsd |
getservbyport(3) - redhat |
getservbyname(3) - netbsd |
services(4) - osf1 |
Similar Topics in the Unix Linux Community |
---|
getservbyport - Always returning NULL servent |