class documentation

Provides connectToListener for TCP transports.

See Also
http://twistedmatrix.com/trac/ticket/1472
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 connectToListener(self, reactor, address, factory):

Connect to the given listening TCP port.

Parameters
reactor:IReactorTCPThe reactor under test.
address:IPv4Address or IPv6AddressThe listening port's address. Only the port component is used; see LISTENER_HOST.
factory:ClientFactoryThe client factory.
Returns
The connector
LISTENER_HOST: str =

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.

Value
'127.0.0.1'