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.
The list of modules described in this chapter is:
- 1.
subprocess
— Subprocess management - 2.
socket
— Low-level networking interface - 3.
ssl
— TLS/SSL wrapper for socket objects - 4.
signal
— Set handlers for asynchronous events - 5.
popen2
— Subprocesses with accessible I/O streams - 6.
asyncore
— Asynchronous socket handler - 7.
asynchat
— Asynchronous socket command/response handler