17. Interprocess Communication and Networking

#
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 used to communicate across machines.

The list of modules described in this chapter is:

`subprocess` |  | Subprocess management.
`socket` |  | Low-level networking interface.
`signal` |  | Set handlers for asynchronous events.
`popen2` |  | Subprocesses with accessible standard I/O streams.
`asyncore` |  | A base class for developing asynchronous socket handling services.
`asynchat` |  | Support for asynchronous command/response protocols.