TCP/IP Sockets in Java :Practical Guide for Programmers ( The Practical Guides )

Publication subTitle :Practical Guide for Programmers

Publication series :The Practical Guides

Author: Calvert   Kenneth L.;Donahoo   Michael J.  

Publisher: Elsevier Science‎

Publication year: 2001

E-ISBN: 9780080518480

P-ISBN(Paperback): 9781558606852

P-ISBN(Hardback):  9781558606852

Subject: TP301.6 algorithm theory;TP31 computer software;TP393 computer network

Language: ENG

Access to resources Favorite

Disclaimer: Any content in publications that violate the sovereignty, the constitution or regulations of the PRC is not accepted or approved by CNPIEC.

Description

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-bas

Chapter

Contents

Preface

Chapter 1. Introduction

1.1 Networks, Packets, and Protocols

1.2 About Addresses

1.3 About Names

1.4 Clients and Servers

1.5 What Is a Socket?

1.6 Exercises

Chapter 2. Basic Sockets

2.1 Socket Addresses

2.2 TCP Sockets

2.3 UDP Sockets

2.4 Exercises

Chapter 3. Sending and Receiving Messages

3.1 Encoding Information

3.2 Composing I/O Streams

3.3 Framing and Parsing

3.4 Implementing Wire Formats in Java

3.5 Wrapping Up

3.6 Exercises

Chapter 4. Beyond the Basics

4.1 Multitasking

4.2 Nonblocking I/O

4.3 Multiple Recipients

4.4 Socket Options

4.5 Closing Connections

4.6 Applets

4.7 Wrapping Up

4.8 Exercises

Chapter 5. Under the Hood

5.1 Buffering and TCP

5.2 Buffer Deadlock

5.3 Performance Implications

5.4 TCP Socket Life Cycle

5.5 Demultiplexing Demysti.ed

5.6 Exercises

Bibliography

Index

The users who browse this book also browse


No browse record.