|
python-network
Python module for easy networking
|
Listen on a network port and accept connections. More...
Public Member Functions | |
| close (self) | |
| Stop the server. | |
Public Attributes | |
| port | |
| Port that is listened on. | |
| ipv6 | |
| Whether the server listens for IPv6. | |
| tls | |
| False or the hostname for which the TLS keys are used. | |
| connections | |
| Currently active connections for this server. | |
| disconnect_cb | |
| Disconnect handler, to be used for new sockets. | |
Listen on a network port and accept connections.
Definition at line 464 of file network.py.