Javascript debugger Website design ↑
getservbyport() returns the Internet service associated with port for the specified protocol as per /etc/services.
/etc/services
The port number.
protocol is either "tcp" or "udp" (in lowercase).
"tcp"
"udp"
Returns the Internet service name as a string.
Javascript debugger Website design