Buy new:
-34% $45.23
Delivery October 14 - 24
Ships from: Amazon
Sold by: TRENDY ONE 1
$45.23 with 34 percent savings
List Price: $69.00
The List Price is the suggested retail price of a new product as provided by a manufacturer, supplier, or seller. Except for books, Amazon will display a List Price if the product was purchased by customers on Amazon or offered by other retailers at or above the List Price in at least the past 90 days. List prices may not necessarily reflect the product's prevailing market price.
Learn more
No Import Fees Deposit & $19.34 Shipping to Austria Details

Shipping & Fee Details

Price $45.23
AmazonGlobal Shipping $19.34
Estimated Import Fees Deposit $0.00
Total $64.57

Delivery October 14 - 24
Or fastest delivery October 10 - 16
$$45.23 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$45.23
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon
Ships from
Amazon
Sold by
Sold by
Returns
30-day refund/replacement
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Returns
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$11.83
The book may have minor cosmetic wear like creased spine, cover, scratches, curled corners, folded pages, minor sunburn, minor water damage, minor bent. The book may have some highlights, notes, underlined pages. Accessories such as CD, codes, toys, may not be included . Safe and Secure Mailer. No Hassle Return The book may have minor cosmetic wear like creased spine, cover, scratches, curled corners, folded pages, minor sunburn, minor water damage, minor bent. The book may have some highlights, notes, underlined pages. Accessories such as CD, codes, toys, may not be included . Safe and Secure Mailer. No Hassle Return See less
Delivery Wednesday, October 16
Or fastest delivery Thursday, October 3. Order within 14 hrs 12 mins
Only 1 left in stock - order soon.
$$45.23 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$45.23
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

UNIX Network Programming: Networking APIs: Sockets and XTI; Volume 1 Subsequent Edition

4.1 4.1 out of 5 stars 54 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$45.23","priceAmount":45.23,"currencySymbol":"$","integerValue":"45","decimalSeparator":".","fractionalValue":"23","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"nfRdh%2FrMdC7HVextYEcTHXo58wyeOTbgLnLrv91rN%2BVdzxg6Txk%2F4Ny73HwdceBkH6%2BwMjL%2Bkkw%2Bc%2BJRiexvGft7Jahv70oLGNT2tMmYdf%2FRHthCMQ591D3PA2aPg%2B7G%2FmDfTbTP3e4jeIG%2Fe5aiHhSpR36CeiytV1JfHk3ou7BXWkMT57MCNF1SWCuqGaOH","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$11.83","priceAmount":11.83,"currencySymbol":"$","integerValue":"11","decimalSeparator":".","fractionalValue":"83","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"nfRdh%2FrMdC7HVextYEcTHXo58wyeOTbgWgS7vig%2FMUrDsCcsDGREGLODdby%2Fic1SgA13JdWgDJrc1xNq3e7%2F9gAySi3cm%2FlMpB5UfpHsWNGCQgMDnf44Fnur%2BAWYqXoHItpuiuPSnkGwl5DIzg218FR4CBytV%2B4rN88hLBT8BFcCOhPCbwcoqD76P1ged9DQ","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

An introductory tutorial or class text and a reference for experienced programmers. Revised from the 1990 edition by using ANSI C for all examples, expanding and rearranging much of the material, dropping the explanation of UNIX, describing the Posix interface, some terminology change, and covering several new topics. It has also been divided into at least three volumes; the second probably on IPC: interprocess communications and the third on applications. Annotation c. by Book News, Inc., Portland, Or.

Frequently bought together

This item: UNIX Network Programming: Networking APIs: Sockets and XTI; Volume 1
$45.23
Sold by TRENDY ONE 1 and ships from Amazon Fulfillment.
+
$55.99
In Stock
Ships from and sold by Amazon.com.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
spCSRF_Treatment
Some of these items ship sooner than the others.
Choose items to buy together.

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.

Product details

  • Publisher ‏ : ‎ Prentice Hall; Subsequent edition (January 15, 1998)
  • Language ‏ : ‎ English
  • Hardcover ‏ : ‎ 1009 pages
  • ISBN-10 ‏ : ‎ 013490012X
  • ISBN-13 ‏ : ‎ 978-0134900124
  • Item Weight ‏ : ‎ 3.75 pounds
  • Dimensions ‏ : ‎ 7.75 x 1.5 x 9.75 inches
  • Customer Reviews:
    4.1 4.1 out of 5 stars 54 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
W. Richard Stevens
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Discover more of the author’s books, see similar authors, read book recommendations and more.

Customer reviews

4.1 out of 5 stars
54 global ratings

Top reviews from the United States

Reviewed in the United States on September 28, 2010
been programming for close to 15 years, dabbled in this stuff when I was 17-19 but never really learned it well -- relearning it now for good -- very solid technical book and none of that crap you'll find in other tech books -- if you want to learn how to scale your website properly read this
2 people found this helpful
Report
Reviewed in the United States on September 7, 2014
excellent, the book is quite new, and I have not expected to buy a book like this at such low price. Amazing!
Reviewed in the United States on April 5, 2013
This is an invaluable resource for any programmer looking to do network programming in C. It also provides great background knowledge for anyone looking to get into network programming. It provides great background knowledge for sockets which show up in Java as well.
2 people found this helpful
Report
Reviewed in the United States on September 9, 2016
excellent book, thank you ...
Reviewed in the United States on August 1, 2000
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.
78 people found this helpful
Report
Reviewed in the United States on October 29, 2003
Though book is preety straight forward.
It rarely talks about tricks,code is highly redundant in the sense that everywhere error checking is being done.
Which makes it highly boring is that if you are dealing with some kind of N/W installation or S/W trobuleshooting.
Talks much more on code,
2 people found this helpful
Report
Reviewed in the United States on January 24, 2000
Stevens covers in excellent detail some topics, such as non-blocking IO and protocol-independent coding, that other references barely touch. If you are serious about writing network applications, you _need_ this book.
3 people found this helpful
Report
Reviewed in the United States on July 15, 2001
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. Miscellaneous Source Code (all source code is available for download)
C. Solutions to Selected Exercises
Bibliography
Index
Understanding why the book is as good as it is requires an understanding of what it does: (1) it serves as a tutorial for learning sockets programming, (2) it serves as an API reference, and (3) it serves as a guide to alternative strategies for network programs. It is not an easy thing to address these three disparate goals at the same time. The way Stevens does it is through his method of presentation.
The lowest-level building block around which Stevens structures his 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.
The chapters do more, however, than just explain how the functions work, they also present different approaches to structuring socket programs. The basic problem in structuring a socket program is how to handle multiple connections. Choices include iterative vs. concurrent, multi-process vs. single-process, threaded vs. multiplexed. Stevens, in the process of teaching the reader the individual function calls, provides the reader with examples of all of these types of programs, along with a discussion of their relative strengths and weaknesses. I don't know if I can say enough in favor of Stevens' choice to include this material, or enough about the quality of his coverage of it.
Now some caveats. First, I have mixed feelings about the presentation of error handling. Stevens' coverage in the text is excellent, but the sample programs have a tendency to exit on error rather than demonstrate recovery. Also, the XTI coverage is thin; only about 120 pages of this 1,000 page book are about XTI. Finally, Stevens absolutely assumes that the reader knows how to program in C, knows general UNIX programming, and how to use Unix development tools (or at least has some other source from which to learn them). If you don't know C programming, you want to get Kernighan & Ritchie's "The C Programming Language". If you don't know about general UNIX programming, get Stevens' "Advanced Programming in the UNIX Environment". If you don't know the tools, I know of many books, but unfortunately none that I would particularly recommend.
In closing, whatever the caveats, this is clearly a five-star programming book. If you need to write socket programs, it can save you untold amounts of grief. Writing network programs that are efficient, fast, and robust is far from trivial, and you can think of the thousand pages in this book as a thousand ways to avoid a thousand mistakes. While it expensive, it paid for itself for me in the first hour, and every hour since has been a dividend - if only all my investments had worked out this well...
---
Note - this book is listed as volume one of a two volume set, but for network programming, the first volume stands by itself quite well. The second volume is a grab-bag of material on pipes, message queues, mutexes, locks, semaphores, shared memory, and remote procedure calls. For network programming proper, the first volume is all you need.
26 people found this helpful
Report

Top reviews from other countries

Translate all reviews to English
Al
5.0 out of 5 stars The book is from 1997, but the TCP/IP principles ...
Reviewed in Canada on April 22, 2018
The book is from 1997, but the TCP/IP principles haven't changed much, and I now have a stronger understanding of networking principles from a programming standpoint. The book also includes IPv6 in its examples and information, which is a huge bonus.
MM
5.0 out of 5 stars UNIX
Reviewed in Italy on May 17, 2016
Ottimo libro, informazioni presentate in modo comprensibile. Ottimo rapporto qualità prezzo. Mi risulta migliore delle edizioni seguenti e anche il prezzo è molto più basso rispetto alle edizioni dopo.
hugh
5.0 out of 5 stars Five Stars
Reviewed in Canada on May 10, 2016
I like it.
Waqas
4.0 out of 5 stars Interesting read, a good book explains IPC in detail
Reviewed in the United Kingdom on May 27, 2012
Explains Linux IPC is quite a lot of detail, but had to buy version 2 after reading this one because content were incomplete. I never totally understood memory map system call before reading this book. Not using the concepts every day at my work. Both the version 1&2 are a good addition to my book shelf.
OTB
3.0 out of 5 stars Be aware
Reviewed in Canada on December 24, 2020
Hello guys, this author wrote this book with his own header files that you can find on his website. If you are a beginner it is very diffucult to get his code working. I managed to modify some parts of the header file and still get a lot of errors.The source code does not compile on my os( kali linux ). There are Make files that you have to configure for your system so that everything work like in the book but for a beginner like myself i could not get them to work. I looked a lot online and did not find any useful articles...