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

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

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

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

Editorial Reviews
Amazon.com
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.

Book Description
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.

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

Effective TCP/IP Programming: 44 Tips to Improve Your Network Programs,Jon C. Snader,Addison-Wesley Professional,0201615894,Computer Bks - Communications / Networking,Computer Books: General,Computers,Data Transmission Standards And Protocols,Internet programming,Networking - Network Protocols,Programming - General,TCP/IP (Computer network proto,TCP/IP (Computer network protocol),Computers / Networking / Network Protocols

Hot Books:

  1. Effective XML: 50 Specific Ways to Improve Your XML
  2. Explorer's Guide to the Semantic Web
  3. FULLMETAL ALCHEMIST(TM) 2 : Curse of the Crimson Elixir Official Strategy Guide (Official Strategy Guides (Bradygames))
  4. Game Design: Theory and Practice (2nd Edition) (Wordware Game Developer's Library)
  5. Get in the Game: Careers in the Game Industry
  6. Guide to Elliptic Curve Cryptography
  7. Guide to Microsoft Excel 2002 for Scientists and Engineers. Third Edition
  8. How to do Everything with Adobe(R) Acrobat(R) 5.0
  9. Implementing the Capability Maturity Model
  10. Inside Yahoo! Reinvention and the Road Ahead

Hot Books

Hot Books

Recommended Books

  1. How to Mix & Use Color: The Artist's Guide to Achieving the Perfect Color in Every Medium
  2. Dark Horse Deluxe Journal: Attaboy's Secret Scheme Book
  3. Jack the Ripper: The Murders and the Movies
  4. PHP/MySQL Programming for the Absolute Beginner
  5. Power Partnering : A strategy for business excellence in the 21st century
  6. Observing the Planets
  7. Interpreting Pre-Quaternary Climate from the Geologic Record
  8. Mathematical Foundations of Quantum Mechanics
  9. Murder Checks Inn
  10. Religion and Politics in the United States: Fourth Edition : Fourth Edition
  11. Holidays: Toys and Decorations
  12. Light: The Shape of Space : Designing with Space and Light
  13. The Balkans in World War II : Britain's Balkan Dilemma
  14. ISO's View on Stellar Evolution
  15. Lonely Planet Diving & Snorkeling Bahamas