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 local IPv4 or IPv6 address to which to bind; defaults to '', ie all IPv4 addresses. To bind to all IPv4 and IPv6 addresses, you must call this method twice. | |
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) |