UNIX Network Programming, Volume 2: Interprocess Communications

The first volume of Unix Network Programming , Networking APIs: Sockets and XTI covers just about everything you need to know to get your applications to talk to other computers on a network. In this second volume, W. Richard Stevens discusses what you need to know to get your applications to talk to other applications running on your computer. There's a big difference, and Stevens covers it well. Stevens introduces the reader to the internal structures of Posix interprocess communication(IPC) and System V (SysV) IPC; pipes and first in, first outs (FIFOs); message queues; how to lock and unlock files and records; semaphores; shared memory; and remote procedure calls (RPCs). He explains the difference between the Posix and SysV implementations of semaphores, message queues, and shared memory. There are also plenty of notes and examples for the reader. This book is invaluable for programmers because it explains all of those little "gotchas" that always seem to pop...