twisted.internet.endpoints.TCP4ClientEndpoint(object) class documentationtwisted.internet.endpoints
(View In Hierarchy)
Implements interfaces: twisted.internet.interfaces.IStreamClientEndpoint
TCP client endpoint with an IPv4 configuration.
| Method | __init__ | |
| Method | connect | Implement IStreamClientEndpoint.connectto connect via TCP. | 
| Parameters | reactor | An IReactorTCPprovider | 
| host | A hostname, used when connecting (type: str) | |
| port | The port number, used when connecting (type: int) | |
| timeout | The number of seconds to wait before assuming the connection has failed. (type: floatorint) | |
| bindAddress | A (host, port) tuple of local address to bind to, or None. (type: tuple) |