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.
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]);
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