socket.getservbyname(servicename[, protocolname])
Translate an Internet service name and protocol name to a port number for that service. The optional protocol name, if given, should be 'tcp'
or 'udp'
, otherwise any protocol will match.
socket.getservbyname(servicename[, protocolname])
Translate an Internet service name and protocol name to a port number for that service. The optional protocol name, if given, should be 'tcp'
or 'udp'
, otherwise any protocol will match.
Please login to continue.