Jump to ratings and reviews
Rate this book

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

Rate this book
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 interprocess communications and the third on applications. Annotation c. by Book News, Inc., Portland, Or.

1009 pages, Hardcover

First published January 1, 1990

Loading interface...
Loading interface...

About the author

W. Richard Stevens

32 books64 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
330 (54%)
4 stars
175 (28%)
3 stars
77 (12%)
2 stars
20 (3%)
1 star
9 (1%)
Displaying 1 - 14 of 14 reviews
Profile Image for Dean Jones.
27 reviews3 followers
January 12, 2009
How I learned Unix socket programming. Great reference.
14 reviews
January 12, 2019
Quite dry but works as reference for programming with Berkeley sockets.
Profile Image for Kurt Schwind.
29 reviews
August 8, 2019
The Unix Network Programming books have been a staple of my bookshelf for almost 2 decades.
Profile Image for Ryan.
13 reviews82 followers
September 9, 2007
dear reader,

NO JOKE there is a HUGE grey, windowless schoolbus outside my window right now! what a world we live in, am i right?!

anyway, enough jokes! the time for joking around is over! now it's time to get serious, and we'll be doing that today by discussing the seminal thriller, "unix network programming" by, well, i can't remember his name, but fuck he is smart. ok, let's go!


excellently organized.
begins with overview of the OSI model, discussing the lower (transport: TCP/IP) layer first.
great tcp client-server example.
in-depth explanation of select() and poll() and ioctl().
good API reference.
iterative vs. concurrent, multi-process vs. single-process.


portno = atoi(argv[2]);
sockfd = socket(AF_INET, SOCK_STREAM, 0);
if (sockfd < 0)
error("ERROR opening socket");
server = gethostbyname(argv[1]);

17 reviews
November 5, 2012
The best book to learn about Computer Networking. I learned everything about TCP/IP, UDP, UDS, L2 layer and much more. The code is in C so familiarity wit C is very helpful
Profile Image for Dave Peticolas.
1,377 reviews40 followers
October 8, 2014

The definitive guide to the UNIX networking API. Few technical authors can match Stevens, who unfortunately passed away not too long ago.

Displaying 1 - 14 of 14 reviews

Can't find what you're looking for?

Get help and learn more about the design.