• RRP: £49.99
  • You Save: £2.50 (5%)
FREE Delivery in the UK.
Only 3 left in stock (more on the way).
Dispatched from and sold by Amazon.
Gift-wrap available.
Unix Network Programming:... has been added to your Basket
+ £2.80 UK delivery
Used: Very Good | Details
Sold by thriftbooks-USA
Condition: Used: Very Good
Comment: All items ship from the USA.  Arrival time is usually 2-3 weeks. Book has appearance of light use with no easily noticeable wear. Spend Less. Read More. Your satisfaction is guaranteed.
Trade in your item
Get a £10.15
Gift Card.
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Unix Network Programming: Sockets Networking API v. 1 (Addison-Wesley Professional Computing) Hardcover – 14 Nov 2003

4 customer reviews

See all formats and editions Hide other formats and editions
Amazon Price New from Used from
"Please retry"
£29.85 £14.54
£47.49 FREE Delivery in the UK. Only 3 left in stock (more on the way). Dispatched from and sold by Amazon. Gift-wrap available.

Special Offers and Product Promotions

  • Win a £5,000 Amazon.co.uk Gift Card for your child's school by voting for their favourite book. Learn more.
  • Prepare for the summer with our pick of the best selection for children (ages 0 - 12) across Amazon.co.uk.

Frequently Bought Together

Unix Network Programming: Sockets Networking API v. 1 (Addison-Wesley Professional Computing) + Advanced Programming in the UNIX Environment (Addison-Wesley Professional Computing) + TCP/IP Illustrated: The Protocols v. 1 (Addison-Wesley Professional Computing)
Price For All Three: £122.42

Buy the selected items together

Trade In this Item for up to £10.15
Trade in Unix Network Programming: Sockets Networking API v. 1 (Addison-Wesley Professional Computing) for an Amazon Gift Card of up to £10.15, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Product details

  • Hardcover: 1024 pages
  • Publisher: Addison Wesley; 3 edition (14 Nov. 2003)
  • Language: English
  • ISBN-10: 0131411551
  • ISBN-13: 978-0131411555
  • Product Dimensions: 18.3 x 3.8 x 23.9 cm
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (4 customer reviews)
  • Amazon Bestsellers Rank: 213,049 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

From the Back Cover

UNIX Network Programming, Volume 1: The Sockets Networking API, Third Edition

"Everyone will want this book because it provides a great mix of practical experience, historical perspective, and a depth of understanding that only comes from being intimately involved in the field. I've already enjoyed and learned from reading this book, and surely you will too."

--Sam Leffler

The classic guide to UNIX networking APIs... now completely updated!

To build today's highly distributed, networked applications and services, you need deep mastery of sockets and other key networking APIs. One book delivers comprehensive, start-to-finish guidance for building robust, high-performance networked systems in any environment: UNIX Network Programming, Volume 1, Third Edition.

Building on the legendary work of W. Richard Stevens, this edition has been fully updated by two leading network programming experts to address today's most crucial standards, implementations, and techniques. New topics include:

  • POSIX Single UNIX Specification Version 3
  • IPv6 APIs (including updated guidance on IPv6/IPv4 interoperability)
  • The new SCTP transport protocol
  • IPsec-based Key Management Sockets
  • FreeBSD 4.8/5.1, Red Hat Linux 9.x, Solaris 9, AIX 5.x, HP-UX, and Mac OS X implementations
  • New network program debugging techniques
  • Source Specific Multicast API, the key enabler for widespread IP multicast deployment

The authors also update and extend Stevens' definitive coverage of these crucial UNIX networking standards and techniques:

  • TCP and UDP transport
  • Sockets: elementary, advanced, routed, and raw
  • I/O: multiplexing, advanced functions, nonblocking, and signal-driven
  • Daemons and inetd
  • UNIX domain protocols
  • ioctl operations
  • Broadcasting and multicasting
  • Threads
  • Streams
  • Design: TCP iterative, concurrent, preforked, and prethreaded servers

Since 1990, network programmers have turned to one source for the insights and techniques they need: W. Richard Stevens' UNIX Network Programming. Now, there's an edition specifically designed for today's challenges--and tomorrow's.

About the Author

The late W. RICHARD STEVENS was the original author of UNIX Network Programming, First and Second Editions, widely recognized as the classic texts in UNIX networking. BILL FENNER is Principal Technical Staff Member at AT&T Labs in Menlo Park, CA, specializing in IP multicasting, network management, and measurement. He is one of the IETF's Routing Area Directors, responsible for approving all routing-related documents that get published as RFCs. ANDREW M. RUDOFF, Senior Software Engineer at Sun Microsystems, specializes in networking, operating systems internals, file systems, and high availability software architecture.

Customer Reviews

4.5 out of 5 stars
5 star
4 star
3 star
2 star
1 star
See all 4 customer reviews
Share your thoughts with other customers

Most Helpful Customer Reviews

Format: Hardcover
This book is not an easy read, but for the level of information, tricks, and advice provided, it is no wonder. It goes to the lowest level to explain everything. It provides information to make proper choices on which protocols to use. And it gives step by step code examples to actually use them. Not for the beginner - but we are not beginners anymore but still need a fast route to results!
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
By Mr. K. Chaplin on 16 Aug. 2008
Format: Hardcover
This book is very informative, and an excellent reference to sockets programming. I refer to it time and time again, and is a welcome addition to my bookshelf.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
Format: Hardcover
I got two copies of this book stolen. That tells you everything.

You will not find a better book about network programming than this one.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
Format: Hardcover Verified Purchase
Good when you want more than the usual basics of network programming. Lots of examples and written in a way that I find straightforward to read.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Helpful Customer Reviews on Amazon.com (beta)

Amazon.com: 39 reviews
69 of 69 people found the following review helpful
Continuing the work of a legend in the field of CS 6 Feb. 2004
By Amazon Customer - Published on Amazon.com
Format: Hardcover
It would be difficult to put value on a book that has been a classic text and a reference in academia and in the real world in the context of Network Programming for over a decade. Richard Stevens published the ever-popular Unix Network Programming [UNP] back in 1990, followed the second edition in 1998. With a dedication to the memory of R. Stevens, the UNP book found itself two new authors, Bill Fenner and Andrew M. Rudoff, who would write the third edition of this book. The third edition has many updates, a new look and feel and many of new chapters that cover the topics more applicable these days. In my opinion, it is still the most valuable and profound text in the context of Network Programming.
For those of us who have the first two editions of this book, the third edition has the following changes in effect:
· IPv6 updates. In the second version of the book, IPv6 was merely a draft and the sections covering IPv6 has been updated to take these changes into effect.
· POSIX updates. The functions/APIs and examples have been updated to reflect the changes to the latest version of the POSIX specification (1003.1-2001)
· SCTP coverage. 3 new chapters that cover this new reliable, message-based transport protocol have been added.
· Key Management Sockets coverage. Network security and its applicability and use with IPsec.
· Updated Operating Systems and machines that are used to run the examples in the book.
· Some topics such as Transaction TCP and X/Open Transport Interface have been dropped.
Many topics and sections have been updated with the authors' comments. These comments even though simple for someone new to the profession, are extremely useful as they are like hints and tips from one developer to the next to help you out in your next programming assignment.
If this is the only edition of the book that you are reading, you are in for a treat. Topics in Network Programming are covered in detail and using concrete programming examples that all of us can relate to - all Unix, but what else is there?! All kidding aside, the topics are covered well enough that they are useful information under any Operating System. The concepts don't change; sockets are sockets under any Operating System. The function call is different, but one needs to go thru the same steps under any environment.
Being the most popular networking protocol, TCP/IP is covered in Part I of the book. One needs to have prior understanding of the TCP/IP protocol and the OSI model, however. If this is the first time you are looking at the programming aspects of networking protocols, Part I of this book will cover the basics. It starts you off with a couple of simple examples such as daytime client and a daytime server and it builds on that as the reader reads along. TCP, UDP and SCTP (Stream Control Transmission Protocol) are covered in brief in Part I, and basic concepts such as the three-way handshake of TCP and the four-way handshake of SCTP are depicted.
Part II of the book covers sockets and socket programming. Topics such as the socket Address Structure in IPv4 and IPv6 for TCP, UDP and SCTP are covered and examples (the same daytime client/server) are given to convey the point to the reader. It is important to mention here that all the topics and concepts are depicted for the three transport protocols: TCP, UDP and SCTP. Every single socket API under the Unix programming environment is covered and examples are given for each function call to show the reader how the function can be utilized. An entire chapter has been dedicated to Socket Options and how they are used/can be used for best results. Hints are given throughout the chapter to tell the user about the pitfalls and best practices of each option.
After the basics have been covered, various I/O models are depicted in detail and examples are shown to convey the pro's and con's of each I/O model. The five I/O models used thru the book and available under the Unix environment are:
· Blocking I/O
· Non-blocking I/O
· I/O Multiplexing (using select and poll)
· Signal driven I/O
· Asynchronous I/O
SCTP - Stream Control Transmission Protocol, a new IEFT standard are covered in later chapters of 9 and 10 and again in chapter 23. The two interface models of SCTP (one-to-one and one-to-many) are covered in detail, and their differences with TCP are also explained in full. The client/server example that has been used throughout the book is ported to use the new SCTP protocol. The authors then go into great detail explaining the problems that SCTP solves over TCP and where and how it would be useful to use SCTP.
Advanced topics such as IPv4 and IPv6 portability, Unix Domain Protocols, Multicasting and advanced Socket programming for UDP, TCP and SCTP cover the rest of the chapters in this book.
Various options for interoperability between IPv4 and IPv6 start off the last section of the book. A chapter on Advanced I/O functions brings the reader a new perspective of how complicated Network Programming can become. Non-blocking I/O, befits and examples are covered in chapter 16. The topics on Multicasting, and adding reliability to UDP are probably my favorite chapters in this book. The Time Server that has been used throughout the book is re-coded to become a multicast application. Some issues that arise when designing multicast applications such as multicast on a WAN are also discussed.
The third edition of the UNP book is as good as ever. The updates truly reflect solutions to today's challenges in Network Programming. Bill Fenner and Andrew Rudoff did an amazing job continuing the work a true legend in the field of Computer Science.
25 of 25 people found the following review helpful
current classic 28 Jan. 2005
By Jeff Pike - Published on Amazon.com
Format: Hardcover
This book, as with all other Stevens books, can be used as either a tutorial or reference. The depth of information here is unparalleled. I continue to be impressed with the detail in this book. Fenner and Rudoff have done an outstanding job of maintaining quality and tradition this invaluable reference. Avid Stevens fans will not be disappointed.

3rd edition updates include:
*IPv6 added
*POSIX 1003.1-2001 added
*XTI dropped
*T/TCP dropped
*SCTP added
*Key Management Sockets for use with IPSec Added
*Machines used for examples updated
*Other material updated where appropriate (including new functions)

I bought this book a year ago along with Stevens "Advanced Programming in the UNIX Environment" I read most of this book as a tutorial on network programming. I continue to use it as reference. I also read all of APUE. Since then I've added TCP/IP Illustrated, Volume 1 and UNIX Network Programming, Volume 2 to my collection. I've come to apprecaite the painstaking detail, pure clarity, and conciseness that are the hallmarks of all Stevens books.

I'm thankful that Rudoff and Fenner updated this classic. This book is all most will need for the sockets API. I don't have the second edition, but I'm quite happy with the third. It's good to have something that speaks to IPv6. This is the best of the old and new. I wouldn't mind seeing an updated version of TCP/IP Illustrated volumes 1 and 2 either if Fenner and Rudoff are up to it.

All of the Stevens books compliment each other really well. Truth be told, the more Stevens books you read the better off you are.
14 of 14 people found the following review helpful
Invaluable UNIX Programming Resource 25 Jan. 2004
By Russ Woodman - Published on Amazon.com
Format: Hardcover
While not a C programmer by any means, I decided to take some time and tackle the UNIX Network Programming book. I found that lots of early college classes came back to me as I forged a few pages in. It was clear from the very beginning that this book was going to be a very detailed study on all aspects of IP networking as it relates to UNIX programmers. Even for someone who isn't initiated in the topic or really even interested, it was quite an experience to read through the hundreds of flow charts and detailed examples of C code showing how to perform all kinds of interesting network tasks.
From a simple HTTP GET to detailed network file and connectivity operations, including TCP and UDP packets, ports, sockets and so on, there is a place in the book for each kind of network programming service. There is also a fair amount of text dealing with debugging techniques, allowing even those programmers who are experienced in their craft to find new ways to ferret out the problems in their code. The book also promotes good stylistics in programming, engendering the idea that readable and understandable code is better code than that which simply works.
There are also examples and explanations for IPv6?, for any programmer who is going to be making the leap into next generation networks. There are also instructions on how to deal with wireless networks, security models and other topics for anyone who plans on designing network applications or specialized network configurations.
It's probably not accurate to rate a book on a topic that holds little interest to the reader, but even a modest script programmer can tell when a book hits a subject just right and brings out all the details in a concise, easy-to-understand way. If you're a hard-core network programmer, this book is definitely for you. If not, you may find you learn something anyway.
8 of 8 people found the following review helpful
What more needs to be said? 28 Aug. 2005
By Digital Revolutionary - Published on Amazon.com
Format: Hardcover
Im an Australian final year undergrad CS student, we used this as the text for a course 'Network Programming'. This book is very well written and explains not only the process of writing networked applications using C, but also how the actual protocols such as TCP, UDP etc work. This gives you a solid understanding of the 'whys' of network programming and not just the 'hows'. Overall this is a great book for those wanting to learn about network programming in Unix systems or those wanting a refresher. Highly recommended.
8 of 8 people found the following review helpful
School Text 3 Nov. 2005
By C. Rogers - Published on Amazon.com
Format: Hardcover
I was required to use this book for my networking programming class. I'm in my senior year of college and having quite a bit of experience with textbook, I can say with confidence that this is one of the better textbooks out there. You can definately teach yourself network programming with this book and the accompanied source examples.... makes a handy reference guide as well. Worth the investment for Computer Science Engineers.
Were these reviews helpful? Let us know