Contribute to shihyu/Linux_Programming development by creating an account on GitHub. UNIX and Linux System Administration and Shell Programming UNIX® Network Programming Volume 1, Third Edition: The Sockets update and extend. UNIX® Network Programming Volume 1, Third Edition: The Sockets Networking. API. By W. Richard Stevens, Bill Fenner, Andrew M. Rudoff. Publisher: Addison.
|Language:||English, Spanish, Arabic|
|Distribution:||Free* [*Sign up for free]|
DOWNLOAD PDF. UNIX Network Programming with TCP/IP UNIX Network Programming with TCP/IP UNIX Network Programming with TCP/IP UNIX Network. Unix Network Programming: The Sockets Networking API · Read more UNIX Network Programming: Networking APIs: Sockets and XTI. Read more. In UNIX Network Programming, interprocess. Voiume 2, Second Edition, legendary UNIX expert W. Richard Stevens presents communications a comprehensive.
Unfortunately, none are as well organized beautiful in the sense described above as Stevens' books are. As a result, I find each to be difficult to work with. Although it is over pages long, it is not padded and does not unnecessarily duplicate material from Stevens' earlier books. There is very little general non-network programming covered in the book.
References to APUE are made as necessary. For example, on page 6 of the new book, Stevens presents code for a working client program, and on page 13 he presents code for the complementary server.
When a client connects, the server gets the time and sends it to the client which prints it and quits.
This new book mixes working, portable, real-world, annotated code with text, diagrams and tables to document the sockets and XTI API. Over 50 programs and functions are discussed in the book. For example, in less than an hour I downloaded a KB gzipped tar file, expanded it, ran Stevens' configuration routine, ran the Makefile which builds the library used by all programs and subsequent Makefiles, and compiled the programs for Chapter 1.
During the make of the library, I had a small problem because I don't have a threads library on my system.
A quick change to the library Makefile removing references to threads fixed things. I've not compiled all the programs supplied, but the ones I have compile and run the way the book says they should.
Some of these are running IPv4 protocol stacks, others are running IPv6.
One of the themes running through the book is how a programmer can write library routines which are protocol stack and system independent.
Real world means the code deals with errors. If it does, how can I either gracefully end the program or recover and keep going? Stevens worries about this, and the beginner will benefit from his examples. Annotated means that when code is discussed in the book, the printed listing includes the subdirectory and file name for the code, the lines in the listing are numbered, and the discussion in the text puts an appropriate, line-number range in the margin of the text.
This makes it easy for you to move from text discussing a range of lines to the printed listing in the book to the actual file on your hard disk. The book contains much more than code. Stevens writes well.
He has developed a style which allows him to interrupt his narrative discussion with historical and current observations. He does this by adjusting the margins and changing the font.
One example of the timeliness of these notes is his explanation of denial of service attacks on page When appropriate, Stevens includes a diagram which provides an alternate explanation for a topic. Also, when appropriate, he includes a table which summarizes similar pieces of a topic. The result is a work which is encyclopedic without being stifling. I find I can approach a new chapter or section and first study the code, then examine the diagrams, then read the text and finally repeat the process, possibly in a different order.
As I understand more, the various approaches reinforce each other so that the whole ends up being greater than the sum of its parts. Finally, the various tables are natural places to refer back to, once I understand a topic or when I have a specific question. The book is organized into four parts. The first is 50 pages two chapters of introductory material. This includes the working client-server program referred to above.
The second is pages seven chapters.
This discusses the basic networking functions utilized by Berkeley sockets socket, bind, etc. The Protocols W. Richard Stevens. All Categories.
Recent Books. IT Research Library. Miscellaneous Books. Computer Languages.
Computer Science. Electronic Engineering. Linux and Unix.
Microsoft and. Mobile Computing. Networking and Communications. Software Engineering.
Special Topics. Web Programming.