Jump to ratings and reviews
Rate this book

TCP/IP Sockets in Java: Practical Guide for Programmers

Rate this book
Most Internet applications use sockets to implement network communication protocols. TCP/IP Sockets in Practical Guide for Programmers , with its focused, tutorial-based coverage, helps you master the tasks and techniques essential to virtually all client-server projects using sockets in Java. Later chapters teach you to implement more specialized functionality; incisive discussions of programming constructs and protocol implementations equip you with a deeper understanding that is invaluable for meeting future challenges. No other resource presents so concisely or so effectively the exact material you need to get up and running with Java sockets programming right away.

For those who program using the C language, be sure to check out this book's companion, TCP/IP Sockets in Practical Guide for Programmers .


For example code from the text, sample programming exercises, Powerpoint slides, and more, click on the grey "Companion Site" button to the right.

*Concise, no-nonsense explanations of issues often troublesome for students, including message construction and parsing, underlying mechanisms and Java I/O
*Comprehensive example-based coverage of the most important TCP/IP techniques-including iterative and threaded servers, timeouts and asynchronous message processing
*Includes a detailed, easy-to-use reference to the relevant JAVA class libraries
*A companion Web site provides online code for all the example programs given in the book
*Provides a guide to common errors and a reference offering detailed documentation of the sockets interface
*Perfect for a practitioner who may even want just to "look into" this technology.
*Provides tutorial-based instuction in key sockets programming techniques, focusing exclusively on Jva and complemented by example code.
*Covers challenging sockets programming message construction and parsing, underlying TCP/IP protocol mechanisms, Java I/O, iterate and threaded servers, and timeouts.
*Includes references to the relevant Java class libraries that often go beyond the "official" Java documentation in clarity and explanation.
*Provides code for all example programs, along with additional exercises, via companion Web site.

72 pages, Paperback

First published January 1, 2001

6 people are currently reading
43 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
6 (24%)
4 stars
8 (32%)
3 stars
8 (32%)
2 stars
3 (12%)
1 star
0 (0%)
Displaying 1 - 4 of 4 reviews
Profile Image for Khanh Cao.
34 reviews2 followers
December 6, 2022
Practical guide, clear explanation. The only drawback is the Java version is too old (less than Java 8 - which is widely the standard now), making many example implementations wrong/too verbose sometimes.
Profile Image for Dmytro Chaban.
46 reviews2 followers
February 25, 2017
Awesome book that can help you refresh skills in sockets and also acquire some new knowledge. I guess you can read this book if you tried to play with sockets by yourself and you want more deep knowledge. Still, this book is not a "recipe for all". There's no answer for "How to create multiplayer high performance game based on sockets", but you can combine knowledge from this book to find the answer.
Profile Image for Marshall Vandegrift.
105 reviews2 followers
July 11, 2011
I was hoping I was just missing something about how painful Java network programming seems to be (even the NIO API), but unless this book is just full of lies, apparently not. I'm also definitely not the book's target audience (way too much into material), but that's not really its fault.
Displaying 1 - 4 of 4 reviews

Can't find what you're looking for?

Get help and learn more about the design.