Inter-Process Communication (IPC)
Data exchange techniques between processes:
- message passing: files, pipes, sockets
- shared-memory model (not the default … not mentioned in Wang, but we’ll still cover in this, a few weeks)
Limitations of files for inter-process data exchange:
Limitations of pipes:
- two processes must be running on the same machine
- two processes communicating must be “related”
Sockets overcome these limitations (we’ll cover sockets in the next lecture)