Networking and Interprocess Communication网络和进程间通信¶
The modules described in this chapter provide mechanisms for networking and inter-processes communication.本章描述的模块提供了联网和进程间通信的机制。
Some modules only work for two processes that are on the same machine, e.g. 某些模块仅适用于同一台机器上的两个进程,例如signal
and mmap
. signal
和mmap
。Other modules support networking protocols that two or more processes can use to communicate across machines.其他模块支持两个或多个进程可用于跨机器通信的网络协议。
The list of modules described in this chapter is:本章描述的模块列表如下:
asyncio
—Asynchronous I/O异步I/Osocket
—Low-level networking interface低层网络接口ssl
—TLS/SSL wrapper for socket objects套接字对象的TLS/SSL包装器select
—Waiting for I/O completion等待I/O完成selectors
—High-level I/O multiplexing高级I/O多路复用signal
—Set handlers for asynchronous events设置异步事件的处理程序mmap
—Memory-mapped file support内存映射文件支持