Skip to Content
Advanced Programming in the UNIX® Environment: Second Edition
book

Advanced Programming in the UNIX® Environment: Second Edition

by W. Richard Stevens, Stephen A. Rago
June 2005
Intermediate to advanced
960 pages
23h 41m
English
Addison-Wesley Professional
Content preview from Advanced Programming in the UNIX® Environment: Second Edition

Chapter 17. Advanced IPC

Introduction

In the previous two chapters, we discussed various forms of IPC, including pipes and sockets. In this chapter, we look at two advanced forms of IPC—STREAMS-based pipes and UNIX domain sockets—and what we can do with them. With these forms of IPC, we can pass open file descriptors between processes, servers can associate names with their file descriptors, and clients can use these names to rendezvous with the servers. We’ll also see how the operating system provides a unique IPC channel per client. Many of the ideas that form the basis for the techniques described in this chapter come from the paper by Presotto and Ritchie [1990].

STREAMS-Based Pipes

A STREAMS-based pipe (“STREAMS pipe,” for short) is a bidirectional ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Advanced Programming in the UNIX® Environment, Third Edition

Advanced Programming in the UNIX® Environment, Third Edition

W. Richard Stevens, Stephen A. Rago
What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz

Publisher Resources

ISBN: 0201433079Purchase book