class TCP4ClientEndpoint: (source)
Implements interfaces: twisted.internet.interfaces.IStreamClientEndpoint
TCP client endpoint with an IPv4 configuration.
| Method | __init__ |
|
| Method | connect |
Implement IStreamClientEndpoint.connect to connect via TCP. |
| Instance Variable | _reactor |
Undocumented |
| Instance Variable | _host |
Undocumented |
| Instance Variable | _port |
Undocumented |
| Instance Variable | _timeout |
Undocumented |
| Instance Variable | _bindAddress |
Undocumented |
| Parameters | reactor | An IReactorTCP provider |
| 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: float or int) | |
| bindAddress | A (host, port) tuple of local address to bind to, or None. (type: tuple) |