Buy new:
-5% $32.24$32.24
Delivery Monday, October 14
Ships from: Amazon Sold by: Space-store
Save with Used - Good
$20.38$20.38
Delivery October 15 - November 6
Ships from: Amazon Sold by: Couch Rock Market
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
TCP/IP Sockets in C: Practical Guide for Programmers (Morgan Kaufmann Practical Guides) 2nd Edition
Purchase options and add-ons
TCP/IP Sockets in C: Practical Guide for Programmers, Second Edition is a quick and affordable way to gain the knowledge and skills needed to develop sophisticated and powerful web-based applications. 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. This edition has been expanded to include new advancements such as support for IPv6 as well as detailed defensive programming strategies.
If you program using Java, be sure to check out this book’s companion, TCP/IP Sockets in Java: Practical Guide for Programmers, 2nd Edition.
- Includes completely new and expanded sections that address the IPv6 network environment, defensive programming, and the select() system call, thereby allowing the reader to program in accordance with the most current standards for internetworking.
- Streamlined and concise tutelage in conjunction with line-by-line code commentary allows readers to quickly program web-based applications without having to wade through unrelated and discursive networking tenets.
- ISBN-100123745403
- ISBN-13978-0123745408
- Edition2nd
- PublisherMorgan Kaufmann
- Publication dateMarch 31, 2009
- LanguageEnglish
- Dimensions7.5 x 0.48 x 9.25 inches
- Print length216 pages
Frequently bought together

Customers who bought this item also bought
Pearson Computer Networking, 8EPaperback$30.00 shippingGet it Oct 7 - 15Only 2 left in stock - order soon.
Standard C Library, ThePaperback$14.42 shippingGet it as soon as Monday, Oct 14Only 2 left in stock - order soon.
Editorial Reviews
Review
Review
From the Back Cover
TCP/IP Sockets in C: Practical Guide for Programmers, 2nd Edition is a quick and affordable way to gain the knowledge and skills needed to develop sophisticated and powerful web-based applications. 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. This edition has been expanded to include new advancements such as support for IPv6 as well as detailed defensive programming strategies.
If you program using Java, be sure to check out this book’s companion, TCP/IP Sockets in Java: Practical Guide for Programmers, 2nd Edition.
About the Author
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.
Kenneth L. Calvert is an associate professor at University of Kentucky, where he teaches and does research on the design and implementation of computer network protocols. He has been doing networking research since 1987, and teaching since 1991. He holds degrees from MIT, Stanford, and the University of Texas at Austin.
Product details
- Publisher : Morgan Kaufmann; 2nd edition (March 31, 2009)
- Language : English
- Paperback : 216 pages
- ISBN-10 : 0123745403
- ISBN-13 : 978-0123745408
- Item Weight : 15.6 ounces
- Dimensions : 7.5 x 0.48 x 9.25 inches
- Best Sellers Rank: #1,200,724 in Books (See Top 100 in Books)
- #22 in TCP-IP
- #216 in C Programming Language
- #1,809 in Internet & Telecommunications
- Customer Reviews:
About the author

Discover more of the author’s books, see similar authors, read book recommendations and more.
Related products with free delivery on eligible orders
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Customers find the book's explanations easy to read and follow. They also say the programming examples are written in good and proper C. However, some customers report that the source code is not available and the Kindle edition's source code samples are unreadable.
AI-generated from the text of customer reviews
Customers find the book easy to read and follow. They appreciate the programming examples written in good and proper C. Readers also mention the book is clear and concise.
"...Plus the programming examples are written in very good and proper C which is in itself is very valuable for someone learning C..." Read more
"...Great example code, maybe, but it doesn't break down examples thoroughly enough or have complex enough examples to be truly useful." Read more
"This book includes enough easy to read explanations of actual working code that you can within a few hours have a client/server socket connection up..." Read more
"I used this book in college and I found it to be very helpful. It is not exhaustive, but it has some code segments for writing some TCP and UDP code..." Read more
Customers find the source code in the book not available and unreadable.
"...Someone above mentioned that the source code was not available. It isn't at the location in the book but it is here:..." Read more
"...they no longer offer the online access, which also means no access to the source code needed to make the examples work...." Read more
"Could be a decent book but the Kindle edition's source code samples are pretty much unreadable (it's not a comment on authors' coding style.)" Read more
-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
This guide was great for showing me the ropes. They cover a lot of ground quickly, so you may need to supplement the readings with some internet searching, but that's mostly for background information and getting a deeper understanding of the concept being covered.
It will take you from knowing nothing to writing clients and servers for TCP or UDP.
This one is great for C, and there is an equivalent for C# that uses .Net Framework wrappers. It is very up to date and still relevant. I highly recommend this.
However, you can start to appreciate the echo server's elegant simplicity when they start covering more advanced topics like servers that implement sockets through multitasking and multliplexing towards end of the text. There's a fair amount of material about UDP in the text as well and while the headline is TCP/IP Sockets, it doesn't feel out of place at all.
As the title says, it's a book for C programmers about sockets, not for other languages. There is a chapter on C++ use, which I have not needed yet.
Someone above mentioned that the source code was not available. It isn't at the location in the book but it is here:
http://cs.ecs.baylor.edu/~donahoo/practical/CSockets2/textcode.html
Top reviews from other countries
I regret not having bought it in paper format because with kindle format the provided source code fragments have very poor resolution, and even with zoom they are hard to read.
Another good point is it waves a large flag (OK has a paragraph in bold) saying things like don't do this or if you want to write full servers you need to deal with this.





