Menu Expand
TCP/IP Sockets in Java

TCP/IP Sockets in Java

Kenneth L. Calvert | Michael J. Donahoo

(2001)

Abstract

Most Internet applications use sockets to implement network communication protocols. TCP/IP Sockets in Java: 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 C: Practical Guide for Programmers.

  • 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
  • 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 issues: 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.

"A concise, no-fluff guide to low-level network programming in Java. Packed with example code, this book will be indispensable to anyone who wants to understand the finer points of using sockets in Java. Ken and Jeff are not only experts, but also are able to explain practical details clearly. Highly recommended!" -- Keith Edwards, Xerox PARC
"This Guide is exactly what I need for both my untroductory and advanced networking courses: an efficient and effective description of networking programming using socckets in Java that is also inexpensive enough to be a suppliment to my other course materials. In addition, this book goes beyond the typical exampled by providing a clear description of exactly how to send and receive data of various types." -- Chris Edmondson-Yurkanan, University of Texas at Austin, USA