Effective TCP/IP Programming: 44 Tips to Improve Your Network Programs
| |||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||
| Sort customer reviews by: | |||||||||||||||||||||||||||||
|
Show All Reviews on Page
Hide All Reviews on Page
| |||||||||||||||||||||||||||||
| Effective TCP/IP Programming: 44 Tips to Improve Your Network Programs | |||||||||||||||||||||||||||||
|
Programming in TCP/IP can seem deceptively simple. Nonetheless, many network programmers recognize that their applications could be much more robust. Effective TCP/IP Programming is designed to boost programmers to a higher level of competence by focusing on the protocol suite's more subtle features and techniques. It gives you the know-how you need to produce highly effective TCP/IP programs.
In forty-four concise, self-contained lessons, this book offers experience-based tips, practices, and rules of thumb for learning high-performance TCP/IP programming techniques. Moreover, it shows you how to avoid many of TCP/IP's most common trouble spots. Effective TCP/IP Programming offers valuable advice on such topics as: Exploring IP addressing, subnets, and CIDR Preferring the sockets interface over XTI/TLI Using two TCP connections Making your applications event-driven Using one large write instead of multiple small writes Avoiding data copying Understanding what TCP reliability really means Recognizing the effects of buffer sizes Using tcpdump, traceroute, netstat, and ping effectively Numerous examples demonstrate essential ideas and concepts. Skeleton code and a library of common functions allow you to write applications without having to worry about routine chores. Through individual tips and explanations, you will acquire an overall understanding of TCP/IP's inner workings and the practical knowledge needed to put it to work. Using Effective TCP/IP Programming, you'll speed through the learning process and quickly achieve the programming capabilities of a seasoned pro. |
|||||||||||||||||||||||||||||
|
Many C/C++ programmers know at least the basics of TCP/IP, but becoming an expert network programmer usually requires a lot of experience and sometimes hard-to-find knowledge. Written to give the intermediate or advanced developer a leg up in creating robust network applications using TCP/IP and related protocols, Effective TCP/IP Programming offers a truly valuable review and guide to getting the most out of your networked programs that are based on this popular standard.
This book is packaged as a series of 44 tips for better TCP/IP programs, but it actually does much more. Early sections review the basics of the TCP, UDP and IP protocols, along with related standards. A winning feature here is the author's care to distinguish between the well-known BSD (for Unix) and Winsock (for Windows) versions of sockets. (By using macros and "skeleton" programs, his sample C code will run easily on either implementation.) Besides offering nuts-and-bolts programming advice and plenty of hints for better performance, Snader also discusses how IP works under the hood. Standout sections here include a discussion of the pitfalls of scaling a stand-alone or LAN TCP/IP application to the Internet, as well as what a "reliable" protocol like TCP really means. He shows you how to handle misbehaving servers and clients, and how to use multiple sockets effectively, and he offers several useful tips for optimizing data streamed across the wire. Although he doesn't mention Java here (which offers strong socket support on its own), the author does provide Perl examples that work with sockets in order to get you started with sockets used within scripting languages. Because IP is the protocol of choice for the Internet, more and more of us are faced with becoming socket-programming experts in a hurry. In all, Effective TCP/IP Programming offers a good mix of basic and advanced tips on today's IP and related protocols. It's a valuable resource for any developer who programs for the Internet and wants to write better code using sockets. --Richard Dragan Topics covered: TCP/IP overview and programming tips, Berkeley Socket Distribution (BSD) vs. Winsock/Windows socket implementation issues, connected and connectionless protocols, network-programming frameworks, UDP vs. TCP, reliable protocols, network programming for single workstations, LANs and WANs; event-driven programming, improving write operations, IP packet layout, byte ordering issues, the Nagle and delayed ACK algorithms, using network utilities: inetd, tcpmux, tcpdump, traceroute, ttcp, and netstat; and resources and hints for improving network-programming skills. |
|||||||||||||||||||||||||||||
| Reader Reviews 1 - 7 of 7 | |||||||||||||||||||||||||||||
| Review Date |
Review Rating(5 High) |
Review Helpful to: |
Customer Review | Reviewer Info |
Permanent Link |
||||||||||||||||||||||||
| Reader Reviews Below Sorted by Newest First | |||||||||||||||||||||||||||||
| 08-14-07 | 4 | (NA) |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
Not all of the 44 tips are exceptional. Some of them are pretty trivial such as "Read Stevens books" or "consult RFCs" but about 35 tips are very good. The author knows well this topic and explains very well the reasons behind these tips. I am sure that all these good tips can be found in the TCP/IP Illustrated books but if you do not have the time to read 3 volumes consisting of about 2000 pages, this less than 300 pages book will provide a nice synthesis of TCP/IP programming good practices.
(Review Data Last Updated: 2008-08-20 10:30:54 EST)
|
|||||||||||||||||||||||||||||
| 08-16-06 | 5 | (NA) |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
I bought this about 4 years ago. It was extremely helpful for the socket programs that I have had to develop. I don't do TCP/IP socket programming full time, but this helped me to develop several robust applications. I used it to develop a BGP peering monitor application as a server that also uses sockets for remote reporting. I also used it in developing an active network probing application that looks for forwarding plane faults, making use of various active sending and recieving sockets: UDP, raw and ICMP.
(Review Data Last Updated: 2007-08-14 07:00:41 EST)
|
|||||||||||||||||||||||||||||
| 07-21-06 | 2 | 2\2 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
I don't know why this book is rated so highly. There's nothing wrong with the content (what little there is), but I feel that it's misrepresented as a book for intermediate level network programmers. I was expecting discussion on when to use select() vs. multi-threaded vs. single-threaded servers, for example. But this book is more for beginners (Tip #1, "Understand the difference between connectionless and connection-oriented protocols").
I also feel that the title is misleading. I was expecting a book of specific tips on par with Scott Meyers' Effective C++/STL series which are vastly superior references on their own topics). It's decent as a textbook, once you realize that's what this is. But it's still pretty shallow, and definitely not worth the high price tag. (Review Data Last Updated: 2007-07-02 02:16:40 EST)
|
|||||||||||||||||||||||||||||
| 03-01-06 | 5 | (NA) |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This book is a perfect addition to the library of any network programmer. It brings the balance between practicality and knowledge to a topic as TCP/IP Programming. If you want more knowledge go with Stevens, but if you want to learn fast or to review some concepts or even have a reference book, this is your book.
If want to do network programming without getting too deeply into every network programming concept, this book will show you how to code simple and fast with very good reference examples. It will also give you tips that will help you to avoid network programming mistakes that can lead to network buffer overflows. (Review Data Last Updated: 2007-07-02 02:16:40 EST)
|
|||||||||||||||||||||||||||||
| 02-28-06 | 5 | (NA) |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This book is a perfect addition to the library of any network programmer. It brings the balance between practicality and knowledge to a topic as TCP/IP Programming. If you want more knowledge go with Stevens, but if you want to learn fast or to review some concepts or even have a reference book, this is your book.
If want to do network programming without getting too deeply into every network programming concept, this book will show you how to code simple and fast with very good reference examples. It will also give you tips that will help you to avoid network programming mistakes that can lead to network buffer overflows. (Review Data Last Updated: 2007-02-21 00:19:41 EST)
|
|||||||||||||||||||||||||||||
| 01-31-04 | 5 | 3\3 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This book has a perfect balance of brevity and depth. Anything shorter would have been superficial, anything deeper would begin to compete with Stevens' Unix Network Programming (and lose). As is, this book fits very well for developers who do occasional TCP/IP development, but still need to develop reliable, industrial-grade software.
(Review Data Last Updated: 2007-07-02 02:16:40 EST)
|
|||||||||||||||||||||||||||||
| 01-30-04 | 5 | 3\3 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This book has a perfect balance of brevity and depth. Anything shorter would have been superficial, anything deeper would begin to compete with Stevens' Unix Network Programming (and lose). As is, this book fits very well for developers who do occasional TCP/IP development, but still need to develop reliable, industrial-grade software.
(Review Data Last Updated: 2007-02-21 00:19:41 EST)
|
|||||||||||||||||||||||||||||
| Reader Reviews 1 - 7 of 7 | |||||||||||||||||||||||||||||
| All Books | Arts | Biography | Click Here For An A-Z Index Of All 213 Best-Seller Subjects | Business | Children's | Comics | ||||||
| Computers | Cooking | Engineering | Entertainment | Health | History | Home | Horror | Humor | Law | Fiction | Medicine | Mystery |
| Nonfiction | Outdoors | Parenting | Professional | Reference | Religion | Romance | Science | Sci-Fi | Sports | Teens | Travel | |