Part of twisted.internet.endpoints View Source View In Hierarchy
Implements interfaces: twisted.internet.interfaces.IStreamClientEndpoint
Method | __init__ | |
Method | connect | Implement IStreamClientEndpoint.connect
to connect via TCP, once the hostname resolution is done. |
Instance Variable | _getaddrinfo | A hook used for testing name resolution. |
Instance Variable | _deferToThread | A hook used for testing deferToThread. |
Instance Variable | _GAI_ADDRESS | Index of the address portion in result of getaddrinfo to be used. |
Instance Variable | _GAI_ADDRESS_HOST | Index of the actual host-address in the 5-tuple _GAI_ADDRESS . |
Method | _nameResolution | Resolve the hostname string into a tuple containing the host IPv6 address. |
Method | _resolvedHostConnect | Connect to the server using the resolved hostname. |
Parameters | host | An IPv6 address literal or a hostname with an IPv6 address |
See Also | twisted.internet.interfaces.IReactorTCP.connectTCP |
IStreamClientEndpoint.connect
to connect via TCP, once the hostname resolution is done.