python-network
Python module for easy networking
Loading...
Searching...
No Matches

◆ lookup()

network.lookup (   service)

Convert int or str with int or service to int port.

Parameters
serviceint or numerical str or network service name.
Returns
the port number for the service as an int.

Definition at line 123 of file network.py.