
socket — Low-level networking interface — Python 3.13.3 …
Create a new socket using the given address family, socket type and protocol number. The address family should be AF_INET (the default), AF_INET6, AF_UNIX, AF_CAN, …
Socket Programming HOWTO — Python 3.13.3 documentation
1 day ago · Creating a Socket¶ Roughly speaking, when you clicked on the link that brought you to this page, your browser did something like the following: # create an INET, STREAMing …
ssl — TLS/SSL wrapper for socket objects — Python 3.13.3 …
This module provides a class, ssl.SSLSocket, which is derived from the socket.socket type, and provides a socket-like wrapper that also encrypts and decrypts the data going over the socket …
17.2. socket — 底层网络接口 — Python 2.7.18 文档
Feb 7, 2018 · Create a new socket using the given address family, socket type and protocol number. The address family should be AF_INET (the default), AF_INET6 or AF_UNIX . The …
socketserver — A framework for network servers - Python
2 days ago · Creating a server requires several steps. First, you must create a request handler class by subclassing the BaseRequestHandler class and overriding its handle() method; this …
Transports and Protocols — Python 3.13.3 documentation
2 days ago · Connecting Existing Sockets¶ Wait until a socket receives data using the loop.create_connection() method with a protocol:
Streams — Python 3.13.3 documentation
2 days ago · The register an open socket to wait for data using a protocol example uses a low-level protocol and the loop.create_connection() method. The watch a file descriptor for read …
logging.handlers — Logging handlers — Python 3.13.3 …
2 days ago · The SocketHandler class, located in the logging.handlers module, sends logging output to a network socket. The base class uses a TCP socket. class logging.handlers. …
asyncore --- 异步套接字处理器 — Python 3.8.20 文档
create_socket (family=socket.AF_INET, type=socket.SOCK_STREAM) ¶. 这与普通套接字的创建相同,并会使用同样的创建选项。 请参阅 socket 文档了解有关创建套接字的信息。
Networking and Interprocess Communication — Python 3.13.3 …
4 days ago · socket — Low-level networking interface; ssl — TLS/SSL wrapper for socket objects; select — Waiting for I/O completion; selectors — High-level I/O multiplexing; signal — Set …