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 | 
|---|
| getservbyport(3n) - bsd | 
| endservent(3) - redhat | 
| getservent(3) - redhat | 
| endservent(3) - netbsd | 
| getservbyport(3) - netbsd | 
| Similar Topics in the Unix Linux Community | 
|---|
| getservbyport - Always returning NULL servent |