Staging: this is not the live site, pydocs.org.
Networking and Interprocess Communication
Create a TCP server (socket type SOCK_STREAM) listening on port of the host address.
Changed in 3.5, 3.5.1, 3.6, 3.11, 3.13
- 3.5: Added support for SSL/TLS in ProactorEventLoop.
- 3.5.1: The host parameter can be a sequence of strings.
- 3.6: Added ssl_handshake_timeout and start_serving parameters. The socket option socket.TCP_NODELAY is set by default for all TCP connections.
- 3.11: Added the ssl_shutdown_timeout parameter.
- 3.13: Added the keep_alive parameter.