Part of twisted.internet.endpoints View Source View In Hierarchy
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) |
IStreamClientEndpoint.connect
to connect via TCP.