Title | : | Unix Network Programming, Volume 1: Networking APIsSockets and XTI |
Author | : | |
Rating | : | |
ISBN | : | 013490012X |
ISBN-10 | : | 9780134900124 |
Language | : | English |
Format Type | : | Hardcover |
Number of Pages | : | 1009 |
Publication | : | First published January 1, 1990 |
Unix Network Programming, Volume 1: Networking APIsSockets and XTI Reviews
-
How I learned Unix socket programming. Great reference.
-
The Unix Network Programming books have been a staple of my bookshelf for almost 2 decades.
-
Dated now, but still the definitive book on UNIX socket programming. I can't think of a better book on the subject.
-
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!
REVIEW:
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.
VERDICT:
portno = atoi(argv[2]);
sockfd = socket(AF_INET, SOCK_STREAM, 0);
if (sockfd < 0)
error("ERROR opening socket");
server = gethostbyname(argv[1]);
yes! -
fd fv dffrwv
-
The definitive guide to the UNIX networking API. Few technical authors can match Stevens, who unfortunately passed away not too long ago.
-
good book