Part of twisted.internet.interfaces View Source View In Hierarchy
Known implementations: twisted.internet.iocpreactor.tcp.Port, twisted.internet.iocpreactor.udp.Port, twisted.internet.tcp.Port, twisted.internet.udp.Port
Method | startListening | Start listening on this port. |
Method | stopListening | Stop listening on this port. |
Method | getHost | Get the host that this port is listening for. |
Raises | CannotListenError | If it cannot listen on this port (e.g., it is a TCP port and it cannot bind to the required port number). |
If it does not complete immediately, will return Deferred that fires upon completion.