17. Interprocess Communication and Networking¶
The modules described in this chapter provide mechanisms for different processes to communicate.
Some modules only work for two processes that are on the same machine, e.g.
signal
and subprocess
. Other modules support networking protocols
that two or more processes can use to communicate across machines.
本章中描述的模块列表是:
- 17.1.
subprocess
— 子进程管理 - 17.2.
socket
— 底层网络接口 - 17.3.
ssl
— 套接字对象的TLS/SSL封装 - 17.4.
signal
— 设置异步事件处理程序 - 17.5.
popen2
— Subprocesses with accessible I/O streams - 17.6.
asyncore
— 异步socket处理器 - 17.7.
asynchat
— 异步 socket 指令/响应 处理器