Part of twisted.internet.interfaces.IReactorTCP View Source
| Parameters | port | a port number on which to listen |
| factory | a twisted.internet.protocol.ServerFactory
instance
| |
| backlog | size of the listen queue | |
| interface | the hostname to bind to, defaults to '' (all) | |
| Returns | an object that provides IListeningPort.
| |
| Raises | CannotListenError | as defined here twisted.internet.error.CannotListenError,
if it cannot listen on this port (e.g., it cannot bind to the required port
number)
|