Rating: Summary: Great book, while code exmp could be more straight forward Review: I bought this book about a month ago and used it very extensively for my UNIX programming project. While this book is great and very comprehensive, I did find code examples very confusing. As coping a variable from the socket struct into variable and then from this variable into custom structure, then manipulating this custom structure and finally printing. It would be better to use as less transformation as possible. Because it makes very hard to find what this variable has and where it came from. At the end all I'm looking for is simple but good example of how to use sockets...etc, it's not a C programming book.
Rating: Summary: Essential Review: I have UNP EEE, Green Cover, paperback, '93(I think). R. Stevens would be proud of this book. After 14 years, they **finally** got it right!(Zb)-peace-
Rating: Summary: Great book, while code exmp could be more straight forward Review: I learned both network programming and threaded programming (pthreads) from this book (the 1998 2nd edition), and it was a great teacher. I used it to design and implement a client server protocol for a research project involving 10 machines and about 15 communicating processes. One of the things I really appreciate about the book is the detailed examples.After the concepts (a server 'listens' for a connection; a client initiates a connection) and basics of packets and sockets, the book presents a simple tcp server and client -- the server simply echos back whatever the client sends. Next, it discusses what can go wrong with the simple version, and presents an improved echo server that behave better when the client crashes (and likewise an improved client). The book continues to improve on the basic client/server, including address resolution, and servers that handle multiple clients using forks, threads, non-blocking I/O. This is all I needed to learn from the book, and it's all in the first half of the book. Particularly useful is Chapter 27, Client-Server Design Alternatives. To me it alone was worth the price of the book. Here the book discusses concurrent servers with three basic architectures: (1) non-blocking I/O, no threads or forks (advantage: full control of resource allocation; disadvantag: complexity); (2) spawn a thread or fork for each client (simplest implementation; potential problem of too many children); (3) servers that pre-allocate a pool of threads or forks (a happy medium; faster). Other chapters discuss broadcasting, multicasting, out of band data, routing sockets, and raw sockets; all topics I hope to learn some day. Again, this is a great book. The 3rd edition brings it up to date for IPV6 and numerous small improvements.
Rating: Summary: A great teacher; an essential reference Review: I learned both network programming and threaded programming (pthreads) from this book (the 1998 2nd edition), and it was a great teacher. I used it to design and implement a client server protocol for a research project involving 10 machines and about 15 communicating processes. One of the things I really appreciate about the book is the detailed examples. After the concepts (a server 'listens' for a connection; a client initiates a connection) and basics of packets and sockets, the book presents a simple tcp server and client -- the server simply echos back whatever the client sends. Next, it discusses what can go wrong with the simple version, and presents an improved echo server that behave better when the client crashes (and likewise an improved client). The book continues to improve on the basic client/server, including address resolution, and servers that handle multiple clients using forks, threads, non-blocking I/O. This is all I needed to learn from the book, and it's all in the first half of the book. Particularly useful is Chapter 27, Client-Server Design Alternatives. To me it alone was worth the price of the book. Here the book discusses concurrent servers with three basic architectures: (1) non-blocking I/O, no threads or forks (advantage: full control of resource allocation; disadvantag: complexity); (2) spawn a thread or fork for each client (simplest implementation; potential problem of too many children); (3) servers that pre-allocate a pool of threads or forks (a happy medium; faster). Other chapters discuss broadcasting, multicasting, out of band data, routing sockets, and raw sockets; all topics I hope to learn some day. Again, this is a great book. The 3rd edition brings it up to date for IPV6 and numerous small improvements.
Rating: Summary: Continuing the work of a legend in the field of CS Review: It would be difficult to put value on a book that has been a classic text and a reference in academia and in the real world in the context of Network Programming for over a decade. Richard Stevens published the ever-popular Unix Network Programming [UNP] back in 1990, followed the second edition in 1998. With a dedication to the memory of R. Stevens, the UNP book found itself two new authors, Bill Fenner and Andrew M. Rudoff, who would write the third edition of this book. The third edition has many updates, a new look and feel and many of new chapters that cover the topics more applicable these days. In my opinion, it is still the most valuable and profound text in the context of Network Programming. For those of us who have the first two editions of this book, the third edition has the following changes in effect: · IPv6 updates. In the second version of the book, IPv6 was merely a draft and the sections covering IPv6 has been updated to take these changes into effect. · POSIX updates. The functions/APIs and examples have been updated to reflect the changes to the latest version of the POSIX specification (1003.1-2001) · SCTP coverage. 3 new chapters that cover this new reliable, message-based transport protocol have been added. · Key Management Sockets coverage. Network security and its applicability and use with IPsec. · Updated Operating Systems and machines that are used to run the examples in the book. · Some topics such as Transaction TCP and X/Open Transport Interface have been dropped. Many topics and sections have been updated with the authors' comments. These comments even though simple for someone new to the profession, are extremely useful as they are like hints and tips from one developer to the next to help you out in your next programming assignment. If this is the only edition of the book that you are reading, you are in for a treat. Topics in Network Programming are covered in detail and using concrete programming examples that all of us can relate to - all Unix, but what else is there?! All kidding aside, the topics are covered well enough that they are useful information under any Operating System. The concepts don't change; sockets are sockets under any Operating System. The function call is different, but one needs to go thru the same steps under any environment. Being the most popular networking protocol, TCP/IP is covered in Part I of the book. One needs to have prior understanding of the TCP/IP protocol and the OSI model, however. If this is the first time you are looking at the programming aspects of networking protocols, Part I of this book will cover the basics. It starts you off with a couple of simple examples such as daytime client and a daytime server and it builds on that as the reader reads along. TCP, UDP and SCTP (Stream Control Transmission Protocol) are covered in brief in Part I, and basic concepts such as the three-way handshake of TCP and the four-way handshake of SCTP are depicted. Part II of the book covers sockets and socket programming. Topics such as the socket Address Structure in IPv4 and IPv6 for TCP, UDP and SCTP are covered and examples (the same daytime client/server) are given to convey the point to the reader. It is important to mention here that all the topics and concepts are depicted for the three transport protocols: TCP, UDP and SCTP. Every single socket API under the Unix programming environment is covered and examples are given for each function call to show the reader how the function can be utilized. An entire chapter has been dedicated to Socket Options and how they are used/can be used for best results. Hints are given throughout the chapter to tell the user about the pitfalls and best practices of each option. After the basics have been covered, various I/O models are depicted in detail and examples are shown to convey the pro's and con's of each I/O model. The five I/O models used thru the book and available under the Unix environment are: · Blocking I/O · Non-blocking I/O · I/O Multiplexing (using select and poll) · Signal driven I/O · Asynchronous I/O SCTP - Stream Control Transmission Protocol, a new IEFT standard are covered in later chapters of 9 and 10 and again in chapter 23. The two interface models of SCTP (one-to-one and one-to-many) are covered in detail, and their differences with TCP are also explained in full. The client/server example that has been used throughout the book is ported to use the new SCTP protocol. The authors then go into great detail explaining the problems that SCTP solves over TCP and where and how it would be useful to use SCTP. Advanced topics such as IPv4 and IPv6 portability, Unix Domain Protocols, Multicasting and advanced Socket programming for UDP, TCP and SCTP cover the rest of the chapters in this book. Various options for interoperability between IPv4 and IPv6 start off the last section of the book. A chapter on Advanced I/O functions brings the reader a new perspective of how complicated Network Programming can become. Non-blocking I/O, befits and examples are covered in chapter 16. The topics on Multicasting, and adding reliability to UDP are probably my favorite chapters in this book. The Time Server that has been used throughout the book is re-coded to become a multicast application. Some issues that arise when designing multicast applications such as multicast on a WAN are also discussed. The third edition of the UNP book is as good as ever. The updates truly reflect solutions to today's challenges in Network Programming. Bill Fenner and Andrew Rudoff did an amazing job continuing the work a true legend in the field of Computer Science.
Rating: Summary: Continuing the work of a legend in the field of CS Review: It would be difficult to put value on a book that has been a classic text and a reference in academia and in the real world in the context of Network Programming for over a decade. Richard Stevens published the ever-popular Unix Network Programming [UNP] back in 1990, followed the second edition in 1998. With a dedication to the memory of R. Stevens, the UNP book found itself two new authors, Bill Fenner and Andrew M. Rudoff, who would write the third edition of this book. The third edition has many updates, a new look and feel and many of new chapters that cover the topics more applicable these days. In my opinion, it is still the most valuable and profound text in the context of Network Programming. For those of us who have the first two editions of this book, the third edition has the following changes in effect: ·IPv6 updates. In the second version of the book, IPv6 was merely a draft and the sections covering IPv6 has been updated to take these changes into effect. ·POSIX updates. The functions/APIs and examples have been updated to reflect the changes to the latest version of the POSIX specification (1003.1-2001) ·SCTP coverage. 3 new chapters that cover this new reliable, message-based transport protocol have been added. ·Key Management Sockets coverage. Network security and its applicability and use with IPsec. ·Updated Operating Systems and machines that are used to run the examples in the book. ·Some topics such as Transaction TCP and X/Open Transport Interface have been dropped. Many topics and sections have been updated with the authors' comments. These comments even though simple for someone new to the profession, are extremely useful as they are like hints and tips from one developer to the next to help you out in your next programming assignment. If this is the only edition of the book that you are reading, you are in for a treat. Topics in Network Programming are covered in detail and using concrete programming examples that all of us can relate to - all Unix, but what else is there?! All kidding aside, the topics are covered well enough that they are useful information under any Operating System. The concepts don't change; sockets are sockets under any Operating System. The function call is different, but one needs to go thru the same steps under any environment. Being the most popular networking protocol, TCP/IP is covered in Part I of the book. One needs to have prior understanding of the TCP/IP protocol and the OSI model, however. If this is the first time you are looking at the programming aspects of networking protocols, Part I of this book will cover the basics. It starts you off with a couple of simple examples such as daytime client and a daytime server and it builds on that as the reader reads along. TCP, UDP and SCTP (Stream Control Transmission Protocol) are covered in brief in Part I, and basic concepts such as the three-way handshake of TCP and the four-way handshake of SCTP are depicted. Part II of the book covers sockets and socket programming. Topics such as the socket Address Structure in IPv4 and IPv6 for TCP, UDP and SCTP are covered and examples (the same daytime client/server) are given to convey the point to the reader. It is important to mention here that all the topics and concepts are depicted for the three transport protocols: TCP, UDP and SCTP. Every single socket API under the Unix programming environment is covered and examples are given for each function call to show the reader how the function can be utilized. An entire chapter has been dedicated to Socket Options and how they are used/can be used for best results. Hints are given throughout the chapter to tell the user about the pitfalls and best practices of each option. After the basics have been covered, various I/O models are depicted in detail and examples are shown to convey the pro's and con's of each I/O model. The five I/O models used thru the book and available under the Unix environment are: ·Blocking I/O ·Non-blocking I/O ·I/O Multiplexing (using select and poll) ·Signal driven I/O ·Asynchronous I/O SCTP - Stream Control Transmission Protocol, a new IEFT standard are covered in later chapters of 9 and 10 and again in chapter 23. The two interface models of SCTP (one-to-one and one-to-many) are covered in detail, and their differences with TCP are also explained in full. The client/server example that has been used throughout the book is ported to use the new SCTP protocol. The authors then go into great detail explaining the problems that SCTP solves over TCP and where and how it would be useful to use SCTP. Advanced topics such as IPv4 and IPv6 portability, Unix Domain Protocols, Multicasting and advanced Socket programming for UDP, TCP and SCTP cover the rest of the chapters in this book. Various options for interoperability between IPv4 and IPv6 start off the last section of the book. A chapter on Advanced I/O functions brings the reader a new perspective of how complicated Network Programming can become. Non-blocking I/O, befits and examples are covered in chapter 16. The topics on Multicasting, and adding reliability to UDP are probably my favorite chapters in this book. The Time Server that has been used throughout the book is re-coded to become a multicast application. Some issues that arise when designing multicast applications such as multicast on a WAN are also discussed. The third edition of the UNP book is as good as ever. The updates truly reflect solutions to today's challenges in Network Programming. Bill Fenner and Andrew Rudoff did an amazing job continuing the work a true legend in the field of Computer Science.
Rating: Summary: An essential book for your UNIX library Review: The book is really great. Most if not all serious UNIX programmers out there have a copy of Stevens books that they hold close to their hearts as well as to their UNIX/Linux machine. This new edition continues the tradition of presenting excellent content and adds on the original Stevens edition with new topics. There is a number of changes in this new edition that are very important. First the ccoverage of the new SCTP protocol in chapters 9 and 10. Then the coverage of the new IP protocol, IPv6 and its interoperability with IPv4 in chapter 12 and Appendix A. In addition, the coverage of an important feature: POSIX standards which is a single UNIX specification. Plus the extensive coverage of whatever API that exist! All owners of the previous edition realize the value of this book and the excellent quality of the material it presents. This new edition continues in the same direction with new additional contents. For people who are new to this book, this is a great book on Unix programming, a very well known and respected classic that is a must to have. A definite recommendation.
Rating: Summary: LUG:ng Book review Review: The book was great. It covers both the basics for the TCP/IP API in Unix and some advanced techniques of Network Programming. The book was a very easy read and flowed great. There were plenty of code examples so you could read and see how the functionality would work. Besides this being a great reference tool for any Unix Programmer, it is a great tool for anyone looking to develop Unix apps with the new IPV6 standard. The book thouroughly covers both IPV4 and IPV6. When using it as a reference tool, the index is amazingly detailed. It makes finding the information your looking for quick and easy. This is one book that a Unix Programmer can't do without.
Rating: Summary: LUG:ng Book review Review: The book was great. It covers both the basics for the TCP/IP API in Unix and some advanced techniques of Network Programming. The book was a very easy read and flowed great. There were plenty of code examples so you could read and see how the functionality would work. Besides this being a great reference tool for any Unix Programmer, it is a great tool for anyone looking to develop Unix apps with the new IPV6 standard. The book thouroughly covers both IPV4 and IPV6. When using it as a reference tool, the index is amazingly detailed. It makes finding the information your looking for quick and easy. This is one book that a Unix Programmer can't do without.
Rating: Summary: Excellent Review: There is no word to express how GOOD this book.I really suggest for novice to buy this book and i GUARANTEE that you WILL BECOME A NETWORK MASTER.I've just finished reading this book and i use this book for my project and AMAZINGLY I'M ON MY WAY TO MASTER IT.
|