Name

getservbyport

Synopsis

getservbyport port, proto
                  

Translates a service (port) number to its corresponding names. proto is a protocol name such as tcp. The return value in list context is:

($name, $aliases, $port_number, $protocol_name)

In scalar context, getservbyport returns only the service port name.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.148.144.228