Sell Back Your Copy
For a $1.34 Gift Card
Trade in
Have one to sell? Sell yours here
Pocket Guide to TCP/IP Socket Programming in C (Morgan Kaufmann Series in Networking)
 
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Pocket Guide to TCP/IP Socket Programming in C (Morgan Kaufmann Series in Networking) [Paperback]

Michael J. Donahoo (Author), Kenneth L. Calvert (Author)
4.6 out of 5 stars  See all reviews (14 customer reviews)


Available from these sellers.



Book Description

Morgan Kaufmann Series in Networking August 21, 2000


The Pocket Guide to TCP/IP Sockets is a quick and affordable way to gain the knowledge and skills you need to develop sophisticated and powerful networked-based programs using sockets. Written by two experienced networking instructors, this book provides a series of examples that demonstrate basic sockets techniques for clients and servers.


Using plenty of real-world examples, this book is a complete beginner's guide to socket programming and a springboard to more advanced networking topics, including multimedia protocols.

* Concise, no-nonsense explanations of issues often troublesome for beginners, including message construction and parsing.
* Comprehensive example-based coverage of the most important TCP/IP techniques-including iterative and concurrent servers, timeouts, and asynchronous message processing.
* Includes a detailed, easy-to-use reference to the system calls and auxiliary routines that comprise the sockets interface.
* A companion Web site provides source code for all example programs in both C and WinSock versions, as well as guidance on running the code on various platforms.



Editorial Reviews

Amazon.com Review

The explosive growth of the Internet in no small part is due to the sockets programming interface. This elegant API allows almost any computer that runs TCP/IP--from palm computers to mainframes--to communicate seamlessly. The Pocket Guide to TCP/IP Sockets provides beginning and intermediate network programmers with a practical tutorial and reference guide. Instead of trying to break new ground, this book establishes modest goals and achieves them splendidly. It is a concise, high-quality resource for students and professionals.

This book targets the accomplished C programmer who wants to learn network programming. You're assumed to have a good working knowledge of basic IP addressing and network configuration--not much time is spent educating you on the fundamentals of networking architecture.

A highlight of this book is the solid sample code. Even for those who already write socket code, a brief refresher is always helpful--this book delivers valuable client and server code for both TCP and UDP sockets. Although the samples are based on a Unix environment, it's a trivial matter to port most of the code to Microsoft Windows and the Windows Sockets interface (ported samples also are available directly from the book's Web site). No longer do you have to paw through a thick reference to find parameter lists for sendto() or accept(). More subtle issues--data alignment, network vs. host byte order, and differing approaches to handling client connections--also are handled with ease.

Chapter 6 contains an under-the-hood discussion on TCP/IP implementation that will be useful to the more advanced user and that explains possible deadlock conditions, discusses the TCP state diagram, and sheds light on how the operating system handles socket resources. These juicy nuggets are reasons enough to keep this book handy--even after the thrill of your first successful network program subsides. --Pete Ostenson

Review

This book fills a void in the area of networking education. The presentation is easily accessible to students, with lots of code examples. It will be an excellent companion to traditional networking textbooks for use in undergraduate and introductory graduate courses.
—Ellen W. Zegura, Georgia Institute of Technology

This is the best, all-in-one socket book I have read and yet it doesn't come with the unnecessary overhead of many other books. It is loaded with very useful examples and it can be used as a socket API reference as well. In a word, it is a very well written book that has everything practitioners need.
—Steve Bernier, Communications Research Center

Product Details

  • Paperback: 130 pages
  • Publisher: Morgan Kaufmann; C Version edition (August 21, 2000)
  • Language: English
  • ISBN-10: 1558606866
  • ISBN-13: 978-1558606869
  • Product Dimensions: 8.8 x 7 x 0.4 inches
  • Shipping Weight: 9.6 ounces
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (14 customer reviews)
  • Amazon Best Sellers Rank: #565,672 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

14 Reviews
5 star:
 (11)
4 star:
 (1)
3 star:
 (2)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.6 out of 5 stars (14 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

24 of 24 people found the following review helpful:
5.0 out of 5 stars A Great Bargain, August 17, 2000
This review is from: Pocket Guide to TCP/IP Socket Programming in C (Morgan Kaufmann Series in Networking) (Paperback)
I own several books on sockets programming for TCP/IP. Most are quite large and pricey, address a specific environment such as UNIX (BSD sockets) or Windows (WinSock), and get bogged down in user interface details.

The Pocket Guide to TCP/IP Socket Programming in C is both small in size (130 pages) and price yet provides a great deal of quality information. Within the book, you will find C source code (appears to be ANSI/ISO C) for small functional clients and servers using both the TCP and UDP transports. The C code examples used in the book are traditional in that they favor the UNIX environment. However, all is not lost. If you visit the publishers website you will find WinSock adaptations for nearly all (17 of 22) of the examples in the book.

To avoid unnecessary distractions, the applications in this book use a text rather than a GUI interface; if you are programming for the PC under Windows use the Win32 Console Application project type.

Besides the source code examples, there are sufficient diagrams and text explanations to give an application programmer enough information to write well-behaved network applications. This book would be perfect for teaching network application programming at a school or as part of a corporate training program.

The book deals with an exciting topic at a nice price.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


7 of 7 people found the following review helpful:
5.0 out of 5 stars All you need to learn Sockets, November 20, 2000
By 
jeff (Phoenix, Arizona USA) - See all my reviews
This review is from: Pocket Guide to TCP/IP Socket Programming in C (Morgan Kaufmann Series in Networking) (Paperback)
I didn't even know what a socket was before I got this book. Less than a week later I have successfully completed several programs for my employer that use sockets to communicate. This book is written for Unix, but with the supplemental Windows programs at the MKP website I was able to write programs in a Windows environment with ease. This book is clear and concise and contains all the information you need at a price that is at least three times less than that of other books I have seen. I would certainly recommend it to anyone trying to learn sockets.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


6 of 6 people found the following review helpful:
5.0 out of 5 stars Concise intro to sockets, April 19, 2001
By 
Gregorio "gtada" (Pasadena, CA United States) - See all my reviews
This review is from: Pocket Guide to TCP/IP Socket Programming in C (Morgan Kaufmann Series in Networking) (Paperback)
Compared to other network programming books, this IS pocket sized. However, you shouldn't judge a book based on its size (like a previous reviewer). It's a great introduction to sockets programming. Very clear and concise, with no wasted pages. I had never worked with sockets before reading this book, and now I understand enough to build non-trivial applications. It's essential for the beginning sockets programmer. Also, if you're new to sockets and looking to jump into the Stevens book, this might make that book a little easier to read.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
First Sentence:
Millions of computers all over the world are now connected to the worldwide network known as the Internet. Read the first page
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
int socket, servent structure, echo server, socket descriptor, hostent structure, echo client, multicast port, close handshake, error handling function, next example program, network byte order, given socket, socket structure, broadcast port, sockaddr structure, echo service, errno set, handshake message, listening socket, socket creation, echo string, message boundaries, socket call, receiving program, socket options
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Thought Questions, Basic Sockets, Established Local, Client Server, Closed Local, Echo Port, Interrupt Received, Listening Local
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:





Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product).
 
(21)
(13)
(12)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject