TCP/IP Sockets in C: Practical Guide for Programmers is a quick and affordable way to gain the knowledge and skills needed to quickly develop sophisticated and powerful web-based applications. Written by two experienced networking instructors, the book's focused, tutorial-based approach enables the reader to master the tasks and techniques essential to virtually all client-server projects using sockets in C. A great deal has changed in the 6 years since the first edition of this book was published. The widespread adoption of IPv6 has led to a new standard for internetworking and the exponential increase of computer processing power have enhanced the efficacy and scope of electronic espionage. Therefore, this edition has amended and expanded outdated sections in accordance with new advancements, and now includes support for IPv6 as well as detailed defensive programming strategies. No other resource presents so concisely and effectively the material necessary to get up and running with



Michael J. Donahoo teaches networking to undergraduate and graduate students at Baylor University, where he is an assistant professor. He received his Ph.D. in computer science from the Georgia Institute of Technology. His research interests are in large-scale information dissemination and management.


1 Introduction

2 Basic TCP Sockets

3 Of Names and Address Families

4 Using UDP Sockets

5 Sending and Receiving Data

6 Beyond the Basic Socket Programming

7 Under the Hood

8 Socket Programming in C++