Effective TCP/IP Programming: 44 Tips to Improve Your Network Programs

  Author:    Jon C. Snader
  ISBN:    0201615894
  Sales Rank:    141771
  Published:    2000-01-15
  Publisher:    Addison-Wesley Professional
  # Pages:    299
  Binding:    Paperback
  Avg. Rating:    5.0 based on 18 reviews
  Used Offers:    11 from $34.23
  Amazon Price:    $46.74
  (Data above last updated:  2008-08-20 10:29:23 EST)
  
  
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)
(Hide Review...)  Effective to learn TCP/IP programming best practices
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)
(Hide Review...)  excellent for developing network programs
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
(Hide Review...)  entry-level textbook disguised as "tips"
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)
(Hide Review...)  Perfect reference for network programmers
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)
(Hide Review...)  Perfect reference for network programmers
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
(Hide Review...)  buy it even if you own Stevens' book
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
(Hide Review...)  buy it even if you own Stevens' book
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                 
  
  
  
  
  
  

Because the data used to generate this site come from outside sources, VeryWellSaid.com cannot guarantee the completeness or accuracy of the data.
Search VeryWellSaid™
Google
Web VeryWellSaid™
New subjects are added every week.
View Subjects Below by:
* Top Selling
 (click category name, left)
* Top-Rated Top Sellers
 (click 'Top Rated', right)
In the news...  
Dubai\UAE Top Rated
Influenza\Bird Flu Top Rated
Iraq Top Rated
Supreme Court Top Rated
All Books Top Rated
Arts Top Rated
Photography Top Rated
Digital Photography Top Rated
Digital Cameras Top Rated
Biography Top Rated
Business Top Rated
Management Top Rated
Marketing Top Rated
Sales Top Rated
Stocks Top Rated
Bonds Top Rated
Real Estate Top Rated
Trading Top Rated
Commodities Trading Top Rated
Time Management Top Rated
Starting A Business Top Rated
Children's Top Rated
Comics Top Rated
Computers Top Rated
PC Top Rated
Mac Top Rated
Programming Top Rated
Design Patterns Top Rated
.Net Top Rated
C# Top Rated
Vb.Net Top Rated
Asp.Net Top Rated
Java Top Rated
Python Top Rated
PHP Top Rated
Perl Top Rated
Javascript Top Rated
Ajax Top Rated
CSS Top Rated
Open Source Top Rated
SQL Top Rated
Databases Top Rated
Oracle Top Rated
MySql Top Rated
Sql Server Top Rated
IIS Top Rated
Apache Top Rated
Linux Top Rated
Windows Server Top Rated
Project Management Top Rated
HTML Top Rated
UML Top Rated
IT Certifications Top Rated
Cisco Certifications Top Rated
MCSE Top Rated
MCSD Top Rated
Cooking Top Rated
Italian Cooking Top Rated
Vegetarian Cooking Top Rated
Wine Top Rated
Engineering Top Rated
Entertainment Top Rated
Health Top Rated
Nutrition Top Rated
Dieting Top Rated
Sex Top Rated
History Top Rated
Military History Top Rated
British History Top Rated
Middle East History Top Rated
Land Battles Top Rated
Naval Warfare Top Rated
Air Warfare Top Rated
9/11 Top Rated
Terrorism Top Rated
Home Top Rated
Mortgage\Home Equity Loan Top Rated
Cars Top Rated
Car Buying Top Rated
Sports Cars Top Rated
Cat Top Rated
Humor Top Rated
Horror Top Rated
Law Top Rated
IP Law Top Rated
Legal History Top Rated
Fiction Top Rated
Oprah's Book Club Top Rated
Medicine Top Rated
Cancer Top Rated
Stroke Top Rated
Heart Disease Top Rated
Fertility Top Rated
Diabetes Top Rated
Pharmacology Top Rated
Back Problems Top Rated
Menopause Top Rated
Thyroid Top Rated
Pain Top Rated
Organic Chemistry Top Rated
Immune System Top Rated
Mystery Top Rated
Nonfiction Top Rated
Outdoors Top Rated
Running Top Rated
Radio Control Models Top Rated
Guns Top Rated
Parenting Top Rated
Divorce Top Rated
Professional Top Rated
Reference Top Rated
Religion Top Rated
Romance Top Rated
Science Top Rated
Physics Top Rated
Chemistry Top Rated
Astronomy Top Rated
Psychology Top Rated
Science Fiction Top Rated
Sports Top Rated
Teens Top Rated
Travel Top Rated
USA Top Rated
Europe Top Rated
France Top Rated
Italy Top Rated
England Top Rated
China Top Rated
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
In Association with Amazon.com

Cache miss
(not cached)