3.2.64 getservbynamegetservbyname
This function does the same thing as
getservbyname
(3): it translates
a service (port) name to its corresponding port number.
($name, $aliases, $port_number, $protocol_name) In scalar context, getservbyname returns only the service port number. |
|