This recipe's goal is to provide guidance among the different IPC solutions typically used with processes running on the same machine. It'll provide an overview of the main characteristics seen from the developer's point of view (your point of view!), explaining how they are different from each other.
Learning the different types of IPC
How to do it...
The following table shows the four types of IPC always available on a Linux machine, where the columns represent what we believe are the distinctive factors that a developer should consider when making design choices:
Processes' relation required? | Synchronization required? | Communication type | Scope | Kernel involved? | |
Pipe | Yes | Generally no | Half-duplex | Same... |