- Hardcover: 592 pages
- Publisher: Prentice Hall; 2 edition (25 Aug. 1998)
- Language: English
- ISBN-10: 0130810819
- ISBN-13: 978-0130810816
- Product Dimensions: 18.7 x 3.4 x 24.1 cm
- Average Customer Review: 4.8 out of 5 stars See all reviews (13 customer reviews)
Amazon Bestsellers Rank:
1,047,234 in Books (See Top 100 in Books)
- #73 in Books > Computers & Internet > Computer Science > Programming > Network Programming
- #182 in Books > Computers & Internet > Computer Science > Programming > Linux & Unix
- #710 in Books > Computers & Internet > Software & Graphics > Internet Applications > Web-server Software > UNIX & Linux Operating Systems
- See Complete Table of Contents
Unix Network Programming: Interprocess Communications v. 2 Hardcover – 25 Aug 1998
Customers Who Viewed This Item Also Viewed
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
From the Back Cover
Don't miss the rest of the series!
- Vol. 1, Networking APIs: Sockets and XTI
- Vol. 3, Applications (forthcoming)
The only guide to UNIX(r) interprocess communications you'll ever need!
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. You'll find extensive coverage of Pthreads, with many examples reflecting multiple threads instead of multiple processes. Along the way, you'll master every current IPC technique and technology, including:
- Pipes and FIFOs.
- Posix and System V Message Queues
- Mutexes and Condition Variables
- Read-Write Locks
- Record Locking
- Posix and System V Semaphores
- Posix and System V Shared Memory
- Solaris Doors and Sun RPC
- Performance Measurements of IPC Techniques
If you've read Stevens' best-selling first edition of UNIX Network Programming, this book expands its IPC coverage by a factor of five! You won't just learn about IPC "from the outside." You'll actually create implementations of Posix message queues, read-write locks, and semaphores, gaining an in-depth understanding of these capabilities you simply can't get anywhere else.
The book contains extensive new source code-all carefully optimized and available on the Web. You'll even find a complete guide to measuring IPC performance with message passing bandwidth and latency programs, and thread and process synchronization programs.
The better you understand IPC, the better your UNIX software will run. One book contains all you need to know: UNIX Network Programming, Volume 2, Second Edition.
About the Author
W. RICHARD STEVENS is author of UNIX Network Programming, First Edition, widely recognized as the classic text in UNIX networking. He is also author of Advanced Programming in the UNIX Environment and the TCP/IP Illustrated Series. Stevens is an acknowledged UNIX and networking expert, sought-after Instructor, and occasional consultant.
What Other Items Do Customers Buy After Viewing This Item?
Top Customer Reviews
If you want to know about using networks like TCP/IP, you need Volume 1.
If you want to know about using pipes, synchronisation etc. the examples and explanations are clear and well thought out. If you don't need quite the same depth 'Advanced Programming in the Unix Environment' by the same author covers much of the same material
However, I will dare say that again he has improved his previous good work. I felt that he improved and showed a lot more in his second edition of Volume I, and I felt the same way about volume II. While his was HARDLY the first serious book on thread programming that I have read (I also suggest programming with Posix Threads, if it interests you), his was very informative, from both a beginner and advanced standpoint. If you have only one author to buy, this is it.
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
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
16. Sun RPC
Appendix A. Performance Measurements
Appendix B. Threads Primer
Appendix C. Miscellaneous Source Code
Appendix D. Solutions to Selected Exercises
One final note is that with systems dispersed globally Remote Procedures Calls are taking precedence in Interprocess communications.
Now, if you'll excuse me, I have to go arm-wrestle one of our student interns for my copy of Unix Network Programming...
But not very nice editing and layout, and a bit confusing at some points.
Around the first 85 pages are dedicated to UNIX in general (signals, daemons, filesystem general structure), and not dedicated to networking.
But it talks about the UNIX techniques you will need in the rest of the book, so you won't really need any other and no assumptions about your networking knowledge are done.
The real book starts providing a detailed description of IPC techniques: pipes, FIFOs, streams, message queues, semaphores, shared memory. It might result confusing when to use each technique and how to combine them.
But each of them comes with comprehensive client-server examples and several file locking implementations that help to fully understand the text, and comparisions and valuable advices.
A few tables are outdated now.
But this is no problem as they are available in your UNIX kernel configuration or include files, and the book shows how to find the right values in each case.
A chapter is dedicated to explain networking terms and concepts (OSI models, byte ordering, buffering, multiplexing, routing..)
But even if it's more than enough to understand how everything presented in the book works, in my opinion its a bit short.
Several protocol suites are described (TCP/IP, XNS, SNA, NetBIOS, OSI, UUCP) so it might be hard to choose the right one for your application.
But the different characteristics and services they provide are compared making this choice easier.Read more ›
Most Recent Customer Reviews
Most of the reviews here seem to imply this book is about sockets and TCP/IP. This book covers Unix IPC and describes the subject in detail. Read morePublished on 5 Jan. 2001
If you are serious about network programming, buy this book, and this book alone is enough.Published on 16 July 1999
I didn't get exactly what I needed out of this book. It's good as a reference, but I think it leaves out some information on different topics. Read morePublished on 5 Nov. 1998
With very little effort, one can learn the techniques and tricks to programming Sockets and other forms of IPC. Read morePublished on 14 July 1998
This book is a must read if you are going to program using TCP/IP Sockets or XTI. But, get the Second Edition, published in late 1997.Published on 30 Dec. 1997
I like the books written by Mr.Stevens. I have heard of his name a long time ago.And I greatly admire him. Read morePublished on 7 Dec. 1997
Look for similar items by category
- Books > Computing & Internet > Digital Lifestyle > Online Shopping > Amazon
- Books > Computing & Internet > Networking & Security > Network Topics
- Books > Computing & Internet > Programming > Linux & Unix
- Books > Computing & Internet > Programming > Network Programming
- Books > Computing & Internet > UNIX & Linux