socketserver — A framework for network servers — Python 3.14.7 documentation

docs.python.org

Tin mới

uuid — UUID objects according to RFC 9562

http.server — HTTP servers

Python Module Index

3.14.7 Documentation

The Python Standard Library

Internet Protocols and Support

WebAssembly platforms

This module does not work or is not available on WebAssembly. See WebAssembly platforms for more information.

Server Creation Notes¶

The socketserver module simplifies the task of writing network servers.

Server Creation Notes¶

The socketserver module simplifies the task of writing network servers.

Server Creation Notes¶

There are five classes in an inheritance diagram, four of which represent synchronous servers of four types:

selectors: High-level I/O multiplexing.

There are five classes in an inheritance diagram, four of which represent synchronous servers of four types:

socket: Low-level networking interface.

The address on which the server is listening. The format of addresses varies depending on the protocol family; see the documentation for the socket module for details. For internet protocols, this is a tuple containing a