class documentation

Mixin which uses IReactorSocket.adoptStreamPort to hand out listening TCP ports.

Method getListeningPort Get a TCP port from a reactor, wrapping an already-initialized file descriptor.

Inherited from ConnectToTCPListenerMixin:

Method connectToListener Connect to the given listening TCP port.
Constant LISTENER_HOST The host on which the port is expected to be listening. This is specific to avoid compatibility issues with Windows, which cannot connect to the wildcard host.
def getListeningPort(self, reactor, factory, port=0, interface=''): (source)

Get a TCP port from a reactor, wrapping an already-initialized file descriptor.