Programming Books C Java PHP Python Learn more Browse Programming Books
Buy Used
$25.00
FREE Shipping on orders over $35.
Used: Very Good | Details
Sold by resalerascal
Condition: Used: Very Good
Add to Cart
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: Networking APIs: Sockets and XTI; Volume 1 Hardcover – January 15, 1998


Amazon Price New from Used from
Hardcover
"Please retry"
$32.09 $0.01

There is a newer edition of this item:



NO_CONTENT_IN_FEATURE

Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Product Details

  • Hardcover: 1009 pages
  • Publisher: Prentice Hall PTR; 2nd edition (January 15, 1998)
  • Language: English
  • ISBN-10: 013490012X
  • ISBN-13: 978-0134900124
  • Product Dimensions: 9.3 x 7.4 x 1.7 inches
  • Shipping Weight: 3.8 pounds
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (50 customer reviews)
  • Amazon Best Sellers Rank: #141,582 in Books (See Top 100 in Books)

Editorial Reviews

Amazon.com Review

The classic programming text Unix Network Programming has been updated by author W. Richard Stevens to encompass three new volumes. There have been a few changes in the computing world since 1990 (the year the original was published), and Stevens has taken the opportunity to create a complete set of reference manuals for programmers of all skill levels.

The first volume, Networking APIs: Sockets and XTI, covers everything you need to know to make your programs communicate over networks. Stevens covers everything from writing your programs to be compatible with both Internet Protocol version 4 (IPv4) and IPv6, to raw sockets, routing sockets, User Datagram Protocol (UDP), broadcasting/multicasting, routing sockets, server internals, and more, plus a section covering Posix threads.

Stevens also notes compatibility issues with different operating systems so that readers can create code that is more portable, and he offers plenty of advice on how to make code more robust. --Doug Beaver

From the Back Cover

The only guide to UNIX network programming APIs you'll ever need!

Whether you write Web servers, client/server applications, or any other network software, you need to understand networking APIS—especially sockets in greater detail than ever before. You need UNIX Network Programming, Volume 1, Second Edition.

In this book, leading UNIX networking expert W. Richard Stevens offers unprecedented, start-to-finish guidance on making the most of sockets, the de facto standard for UNIX network programming—as well as extensive coverage of the X/Open Transport Interface (XTI).

Stevens begins by introducing virtually every basic capability of TCP and UDP sockets, including socket functions and options, I/O multiplexing, and name and address conversions. He presents detailed coverage of the Posix.1g standard for sockets and the Posix threads. He also introduces advanced techniques for:

  • Establishing IPv4/IPv6 interoperability.
  • Implementing non-blocking I/O.
  • Routing sockets.
  • Broadcasting and multicasting.
  • IP options.
  • Multithreading.
  • Advanced name and address conversions.
  • UNIX domain protocols.
  • Raw sockets.

Learn how to choose among today's leading client/server design approaches, including TCP iterative, concurrent, preforked and prethreaded servers. Master the X/Open Transport Interface, including XTI TCP clients and servers, name and address functions, options, streams and additional functions.

The Internet/intranet revolution has dramatically increased the demand for developers with a sophisticated understanding of network programming APIs, especially sockets. One book contains all you need to know: UNIX Network Programming, Volume 1, Second Edition.

Customer Reviews

The Best series of books to learn Network programming from.
Shanmuga Sundaram D
I hope one day, I can see in the bookstore "The Complete W. Richard Stevens" in one CD.
Qiang Xu
Stevens' style of presentation is clear and easy to understand.
Ian Nguyen

Most Helpful Customer Reviews

76 of 83 people found the following review helpful By Bryan McClendon on July 31, 2000
Format: Hardcover
The book is very good for touching on quite a few topics in Network programming and doing so in a concise way. However, when reading the book I often felt as if I wasn't learning socket programming so much as learning how to access Steven's personal API to socket programming. When Stevens introduces a new concept he will immediately afterwords introduce a wrapper function that he uses to do it 'correctly'. From then on he will continue to use this wrapper function throughout the rest of the book whenever he needs to use the stanard library function. In fact, in any 10 lines of source in the book it seems like there will be 7 wrapper functions. This of course makes it very hard to use the book as a reference unless you are resigned to using Steven's wrapper library in all of your projects. In several cases, when attempting to reference some concept I ended up flipping through several pages in different chapters to look up definitions and prototypes for these functions in different place, and then diging deeper into the function to decipher what was going on. All I really wanted was a quick answer to a specific question concerning a socket. I can't deny that what he ends up with is a nicely done system for working with sockets, but I don't feel a general programming text should take this approach. I'll be shopping for a different socket book to use as a desk reference.
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
18 of 18 people found the following review helpful By Randy Given on March 3, 2003
Format: Hardcover
This is one of two must-have UNIX books ("UNIX Network Programming" and "Advanced Programming for the UNIX Environment"). After I had been using UNIX for a long time and was getting into more advanced UNIX programming about a decade ago, these two books were recommended. I checked around and made comparisons. Sure enough, I had to agree. I bought both of them and use them a lot, even when doing Windows programming.
As an example, I had to reference them again this weekend. I am using Visual Basic and C++ under Windows to connect some UDP/IP communications between applications. Once again, these books were indispensable (even after looking at online help, Google, Microsoft Knowledge Base and Experts-Exchange). Any Internet professional should have both of these books on their shelf.
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
26 of 28 people found the following review helpful By Rachel Simmons on July 14, 2001
Format: Hardcover
First things first. This is an excellent book. It is also by far the best book on its subject. Those are the first, simplest, and most important things to understand about it.
Before explaining what makes it so good, let's get the table of contents out of the way:
Preface
Part 1. Introduction and TCP/IP
1. Introduction
2. The Transport Layer: TCP and UDP
Part 2. Elementary Sockets
3. Sockets Introduction
4. Elementary TCP Sockets
5. TCP Client-Server Example
6. I/O Multiplexing: The select() and poll() Functions
7. Socket Options
8. Elementary UDP Sockets
9. Elementary Name and Address Conventions
Part 3. Advanced Sockets
10. IPv4 and IPv6 Interoperability
11. Advanced Name and Address Conversions
12. Daemon Processes and 'inetd' Superserver
13. Advanced I/O Functions
14. Unix Domain Protocols
15. Non-Blocking I/O
16. ioctl() Operations
17. Routing Sockets
18. Broadcasting
19. Multicasting
20. Advanced UDP Sockets
21. Out-of-Band Data
22. Signal-Driven I/O
23. Threads
24. IP Options
25. Raw Sockets
26. Datalink Access
27. Client-Server Design Alternatives
Part 4. XTI: X/Open Transport Interface
28. XTI: TCP Clients
29. XTI: Name and Address Functions
30. XTI: TCP Servers
31. XTI: UDP Clients and Servers
32. XTI Options
33. Streams
34. XTI: Additional Functions
Appendix A. IPv4, IPv6, ICMPv4, ICMPv6
Appendix B. Virtual Networks
Appendix C. Debugging Techniques
Appendix D. Miscellaneous Source Code
Appendix E. Solutions to Selected Exercises
Bibliography
Index
Appendices
A. Function Prototypes
B.
Read more ›
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
12 of 12 people found the following review helpful By cal on February 17, 2000
Format: Hardcover
W. Stevens is actually the departed person I think most about missing. Just browsing through his book, I learned more about networking and network programming than I have from any other place. Any implemtation, no matter the language or platform, is relatively transparent after reading this book.
He gives a great deal of himself in all his books I've read; sharing the little test programs he writes to finally pin down how something is implemented. And he did all the grunt work of communicating with people like Kernighan and Ritchie to elucidate some points that are not found in books.
This is a very good teacher of his field, which happens to be perhaps the most explosive field of this time.
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
9 of 9 people found the following review helpful By Kaushik Raghavan on July 31, 2000
Format: Hardcover
This book is worth everything I paid for it. I used it to go from a zero in network programming to being able to write solid client-server applications in a matter of weeks. The examples in the book are pretty good and doesn't leave a bunch of things to your imagination. I think this book is definitely one of those you have to keep available in your personal library.
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
9 of 9 people found the following review helpful By Chris H. on October 14, 1999
Format: Hardcover
This is one of the best programming books I have bought! I had several questions I was battling with on current projects, and this book helped greatly in getting resolution. With a server app on a Solaris box, I was able to get all my client apps on Linux, SCO, and even Winsuck to communicate seamlessly, and efficiently! Not for the absolute beginner, some tweaking is needed on some platforms, but anyone with basic C skills and eager to learn this material, this is a must have book!
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

Customer Images

Most Recent Customer Reviews

Search