Client¶
Low-level TCP client. You almost never need this directly -- use ConnectionListener instead.
Constructor¶
Methods¶
| Method | Description |
|---|---|
start_background() |
Start the network loop in a daemon thread. |
send(data) |
Queue a message. Thread-safe. |
close() |
Close the connection. |
Attributes¶
| Attribute | Type | Description |
|---|---|---|
address |
tuple[str, int] |
Remote server address. |