The leading book in its field, this guide focuses on the design, development and coding of network software under the UNIX operating system. Provides over 15,000 lines of C code with descriptions of how and why a given solution is achieved. For programmers seeking an indepth tutorial on sockets, transport level interface (TLI), interprocess communications (IPC) facilities under System V and BSD UNIX.
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