- Save 10% on selected children’s books, compliments of Amazon Family Promotion exclusive for Prime members .
Effective TCP/IP Programming: 44 Tips to Improve Your Network Programs Paperback – 4 May 2000
|New from||Used from|
- Choose from over 13,000 locations across the UK
- Prime members get unlimited deliveries at no additional cost
- Find your preferred location and add it to your address book
- Dispatch to this address when you check out
Special offers and product promotions
Customers who bought this item also bought
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
If you are a seller for this product, would you like to suggest updates through seller support?
While many C/C++ programmers know at least the basics of TCP/IP, 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 based on this popular standard.
Packaged as a series of 44 tips for better TCP/IP programs, this book 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 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 standalone 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, how to use multiple sockets effectively, as well as several useful tips for optimising data streamed across the wire. Though there is no mention of Java here (which offers strong socket support on its own), the author does provide Perl examples that work with sockets to get you started with sockets used within scripting languages.
Since 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 both to write better code using sockets. --Richard Dragan, Amazon.com
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; resources and hints for improving network programming skills.
From the Back Cover
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
0201615894B04062001 See all Product description
Top customer reviews
It's not targeted at beginners, and assumes a reasonable amount of compentency with compiling, linking and using external resources. Having said that, I have struggled through, and I have managed to get most of the examples in the book working, which has proved very instructive. Mostly I had to resort to finding functions and chopping them into my local code - I see this not as a failing of the book, just as something to be aware of for freshmen.
The book also makes a great effort to be relevant to Windows and Unix, and to rigourously enforce compatibility. A definite plus.
There are a lot of examples of how TCP/IP fails, common errors and assumptions that programmers make when using TCP and UDP, and very useful tips on what to avoid. There is also a lot of technical explanation of what is going on at the stream/packet level, which is very useful, and well written.
Coding is all in C and rarely uses classes. The code is slimmed down to show key functionality, and the only errors I've found have been of my own devising.
I did hit a brick wall at one point, and resorted to contacting Jon Snader, the author. He was good enough to reply and offer encouragement and further tips, and he seemed genuinely interested in helping.
All in all, I would strongly recommend this book to established, confident C programmers who may have tried Winsock programming and found it painful. Mr Snader's book has shaped how I intend to build my system architecture, so it's well worth the investment.
Most helpful customer reviews on Amazon.com
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.
Look for similar items by category
- Books > Computing & Internet > Computer Science > Information Systems
- Books > Computing & Internet > Digital Lifestyle > Online Shopping > Amazon
- Books > Computing & Internet > Networking & Security > Network Topics
- Books > Computing & Internet > Programming > Network Programming
- Books > Computing & Internet > Software & Graphics