Vous voulez voir cette page en français ? Cliquez ici.


or
Sign in to turn on 1-Click ordering.
More Buying Choices
Have one to sell? Sell yours here
UNIX Network Programming, Volume 2: Interprocess Communications
 
See larger image
 

UNIX Network Programming, Volume 2: Interprocess Communications [Hardcover]

W. Richard Stevens
4.7 out of 5 stars  See all reviews (9 customer reviews)
List Price: CDN$ 80.50
Price: CDN$ 76.48 & this item ships for FREE with Super Saver Shipping. Details
You Save: CDN$ 4.02 (5%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Temporarily out of stock.
Order now and we'll deliver when available. We'll e-mail you with an estimated delivery date as soon as we have more information. Your account will only be charged when we ship the item.
Ships from and sold by Amazon.ca. Gift-wrap available.

Frequently Bought Together

UNIX Network Programming, Volume 2: Interprocess Communications + Unix Network Programming, Volume 1: The Sockets Networking API + Advanced Programming in the UNIX Environment: Paperback Edition
Price For All Three: CDN$ 175.37

Some of these items ship sooner than the others. Show details

Buy the selected items together
  • Temporarily out of stock.
    Order now and we'll deliver when available. We'll e-mail you with an estimated delivery date as soon as we have more information. Your account will only be charged when we ship the item.
    Ships from and sold by Amazon.ca.
    This item ships for FREE with Super Saver Shipping. Details

  • Unix Network Programming, Volume 1: The Sockets Networking API CDN$ 52.91

    In Stock.
    Ships from and sold by Amazon.ca.
    This item ships for FREE with Super Saver Shipping. Details

  • Advanced Programming in the UNIX Environment: Paperback Edition CDN$ 45.98

    In Stock.
    Ships from and sold by Amazon.ca.
    This item ships for FREE with Super Saver Shipping. Details


Product Details


Product Description

From Amazon

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 up. In addition, the explanations of the differences between Posix IPC and SysV IPC really help readers decide which version they'd like to use for their applications. --Doug Beaver

Book Description

Well-implemented interprocess communications (IPC) are key to the performance of virtually every non-trivial UNIX program. In UNIX Network Programming, Volume 2, Second Edition, legendary UNIX expert W. Richard Stevens presents a comprehensive guide to every form of IPC, including message passing, synchronization, shared memory, and Remote Procedure Calls (RPC). Stevens begins with a basic introduction to IPC and the problems it is intended to solve. Step-by-step you'll learn how to maximize both System V IPC and the new Posix standards, which offer dramatic improvements in convenience and performance.

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organize and find favorite items.
Your tags: Add your first tag
 

What Other Items Do Customers Buy After Viewing This Item?


 

Customer Reviews

9 Reviews
5 star:
 (7)
4 star:
 (1)
3 star:
 (1)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.7 out of 5 stars (9 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most helpful customer reviews

5.0 out of 5 stars The real power of UNIX is in communication, Oct 1 2004
By 
bernie "webviator" (Arlington, Texas) - See all my reviews
(TOP 500 REVIEWER)   
This review is from: UNIX Network Programming, Volume 2: Interprocess Communications (Hardcover)
The real power of UNIX or any application for that matter is in interprocess communication. I found early on that to accomplish any large project would require the cooperation of interprocess communication. Now I find that simple administration skills also require knowledge of this interprocess communication.

My first foray into the field was to use semaphores to flag processes to run at the proper time. Later I needed to use pipes for a front-end in communication to SNA. Again I found IPC's could help inform and control processes that were in canned packages and not accessible any other way. The list of useful tools can go on and on. I also had to find the NT equivalent as it became popular.

UNIX is still out there in many forms and if one is to survive in the field an understanding of interprocess communications is imperative.

The Abbreviated Table of Contents:

Part 1. Introduction

1. Introduction

2. POSIX IPC

3. System V IPC

Part 2. Message Passing

4. Pipes and FIFOs

5. Posix Message Queues

6. System V Message Queues

Part 3. Synchronization

7. Mutexes and Condition Variables

8. Read-Write Locks

9. Record Locking

10. POSIX Semaphores

11. System V Semaphores

Part 4. Shared Memory

12. Shared Memory Introduction

13. POSIX Shared Memory

14. System V Shared Memory

Part 5. Remote Procedure Calls

15. Doors

16. Sun RPC

Epilogue

Appendix A. Performance Measurements

Appendix B. Threads Primer

Appendix C. Miscellaneous Source Code

Appendix D. Solutions to Selected Exercises

Bibliography

Index

One final note is that with systems dispersed globally Remote Procedures Calls are taking precedence in Interprocess communications.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5.0 out of 5 stars Five star book on a four star subject, July 15 2001
By 
Bowen Simmons (Sunnyvale, CA USA) - See all my reviews
(REAL NAME)   
This review is from: UNIX Network Programming, Volume 2: Interprocess Communications (Hardcover)
Since anyone considering buying a technical book always needs to know what it covers, here's the table of contents:

Part 1. Introduction

1. Introduction

2. Posix IPC

3. System V IPC

Part 2. Message Passing

4. Pipes and FIFOs

5. Posix Message Queues

6. System V Message Queues

Part 3. Synchronization

7. Mutexes and Condition Variables

8. Read-Write Locks

9. Record Locking

10. Posix Semaphores

11. System V Semaphores

Part 4. Shared Memory

12. Shared Memory Introduction

13. Posix Shared Memory

14. System V Shared Memory

Part 5. Remote Procedure Calls

15. Doors

16. Sun RPC

Epilogue

Appendix A. Performance Measurements

Appendix B. Threads Primer

Appendix C. Miscellaneous Source Code

Appendix D. Solutions to Selected Exercises

Bibliography

Index

This is the third and least of Stevens' three books on UNIX programming (he also coauthored a multi-volume work on TCP). It is the not the least because it is necessarily the worst, but because it has the shortest and has the narrowest application domain.

Having said it is the least, it remains a work of the highest quality in an industry that is notable for the huge quantity of bad books that it produces. The structure of this book will be familiar to readers of his prior two books: the lowest-level building block around which Stevens structures the book is the individual function call. For each call (or minor variations on a single call), he provides the C prototype, and then, in text, explains what the function does, what it's arguments are for, and then provides a small C program that demonstrates it in action (all of the sample programs can also be downloaded from the web). These function-level building blocks are arranged into related sets, each of which is a chapter in the book. Each chapter has a wrapper that explains the basic concepts behind the functions in that chapter, and some review exercises at the end. The chapters in turn build on each other, with the most basic ones at the beginning and the more difficult ones towards the end.

In spite of the book's many positive qualities, one thing that this book brings to light, however, is that there is a thread-sized hole in Stevens' UNIX writings. "Advanced Programming in the UNIX Environment" had a great deal of information about processes, but nothing about threads. "UNIX Network Programming: Volume 1", discussed multi-threaded socket programs, but didn't go into any depth on threading. This volume, although it discusses thread synchronization, only touches on general threading issues. Thus, the works, taken as a group, go into some of the important issues and uses of threading without giving the reader a solid grounding in the subject. As threading increases in frequency, this deficiency has grown in importance.

Another difference between this book and its predecessors is that it deals with an area where standards are much weaker than the others; thus, the chapters often have to explain different implementations for accomplishing a task rather than building a basic-to-advanced sequence. This obviously is in no way Stevens' fault, but many readers will find that half the book, which is already the thinnest of Stevens' programming books, is concerned with API's which do not exist on their platform of interest.

To sum up, while this review clearly shows the reservations I have about this book compared to its predecessors, it must still be stressed that Stevens' is a technical author of the highest level. If you do have a need to understand any of the subjects in this book, you won't find a better teacher from which to learn it, and that is why I am still giving the book five stars.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5.0 out of 5 stars A must own for every serious programmer, Mar 30 2001
This review is from: UNIX Network Programming, Volume 2: Interprocess Communications (Hardcover)
This book is a must own for every serious programmer on the unix platform. It provides an insight on various forms of IPC APIs available on the unix platform. It provides coverage of both System V and POSIX standards, there is no match to it as far as IPC is concerned. The Appendices in the end also provide a performance comparison between pipes, FIFOs, posix message queues, System V message queues, doors and Sun RPC. I have not seen another book provide such a wide and deep coverage of this topic. What more - it all comes from the GURU himself!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
Want to see more reviews on this item?
 Go to Amazon.com to see all 14 reviews  4.8 out of 5 stars 
 
 
Most recent customer reviews







Only search this product's reviews



Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback


Amazon.ca Privacy Statement Amazon.ca Shipping Information Amazon.ca Returns & Exchanges