twisted.internet.endpoints.TCP4ClientEndpoint(object)
class documentationtwisted.internet.endpoints
View Source
(View In Hierarchy)
Implements interfaces: twisted.internet.interfaces.IStreamClientEndpoint
TCP client endpoint with an IPv4 configuration.
Method | __init__ | |
Method | connect | Implement IStreamClientEndpoint.connect
to connect via TCP. |
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: int) | |
bindAddress | A (host, port) tuple of local address to bind to, or None. (type: tuple) |
Implement IStreamClientEndpoint.connect
to connect via TCP.