Chapter 10: Using Different Kinds of IPC
In this chapter, we will learn about the various ways we can communicate between processes via so-called inter-process communication (IPC). We will write various programs that use different kinds of IPC, from signals and pipes to FIFOs, message queues, shared memory, and sockets.
Processes sometimes need to exchange information—for example, in the case of a client and a server program running on the same computer. It could also be a process that has forked into two processes, and they need to communicate somehow.
There are multiple ways in which this IPC can happen. In this chapter, we'll learn about some of the most common ones.
Knowing about IPC is essential if you want to write more than the most basic ...
Get Linux System Programming Techniques now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.