Skip to main content Site map

TCP/IP Sockets in Java: Practical Guide for Programmers 2nd edition


TCP/IP Sockets in Java: Practical Guide for Programmers 2nd edition

Paperback by Calvert, Kenneth L. (University of Kentucky, Lexington, KY, USA); Donahoo, Michael J. (Baylor University, Waco, TX, USA)

TCP/IP Sockets in Java: Practical Guide for Programmers

WAS £23.99   SAVE £3.60

£20.39

ISBN:
9780123742551
Publication Date:
3 Apr 2008
Edition/language:
2nd edition / English
Publisher:
Elsevier Science & Technology
Imprint:
Morgan Kaufmann Publishers In
Pages:
192 pages
Format:
Paperback
For delivery:
Estimated despatch 28 May - 2 Jun 2024
TCP/IP Sockets in Java: Practical Guide for Programmers

Description

The networking capabilities of the Java platform have been extended considerably since the first edition of the book. This new edition covers version 1.5-1.7, the most current iterations, as well as making the following improvements: The API (application programming interface) reference sections in each chapter, which describe the relevant parts of each class, have been replaced with (i) a summary section that lists the classes and methods used in the code, and (ii) a "gotchas" section that mentions nonobvious or poorly-documented aspects of the objects. In addition, the book covers several new classes and capabilities introduced in the last few revisions of the Java platform. New abstractions to be covered include NetworkInterface, InterfaceAddress, Inet4/6Address, SocketAddress/InetSocketAddress, Executor, and others; extended access to low-level network information; support for IPv6; more complete access to socket options; and scalable I/O. The example code is also modified to take advantage of new language features such as annotations, enumerations, as well as generics and implicit iterators where appropriate. Most Internet applications use sockets to implement network communication protocols. This book's focused, tutorial-based approach helps the reader master the tasks and techniques essential to virtually all client-server projects using sockets in Java. Chapter 1 provides a general overview of networking concepts to allow readers to synchronize the concepts with terminology. Chapter 2 introduces the mechanics of simple clients and servers. Chapter 3 covers basic message construction and parsing. Chapter 4 then deals with techniques used to build more robust clients and servers. Chapter 5 (NEW) introduces the scalable interface facilities which were introduced in Java 1.5, including the buffer and channel abstractions. Chapter 6 discusses the relationship between the programming constructs and the underlying protocol implementations in more detail. Programming concepts are introduced through simple program examples accompanied by line-by-line code commentary that describes the purpose of every part of the program. No other resource presents so concisely or so effectively the material necessary to get up and running with Java sockets programming.

Contents

1. Introduction to Networks, Packets and Protocols2. Basic Sockets3. Sending and Receiving Messages4. Beyond the Basics5. Scalable Interoperability6. Under the Hood

Back

Middlesex University logo