did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9781558606852

TCP/IP Sockets in Java : Practical Guide for Programmers

by ;
  • ISBN13:

    9781558606852

  • ISBN10:

    1558606858

  • Format: Paperback
  • Copyright: 2001-10-19
  • Publisher: Elsevier Science
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $32.95
  • Digital
    $35.94
    Add to Cart

    DURATION
    PRICE

Supplemental Materials

What is included with this book?

Summary

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. 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 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. *Provides code for all example programs, along with additional exercises, via companion Web site.

Table of Contents

Preface ix
Introduction
1(8)
Networks, Packets, and Protocols
1(2)
About Addresses
3(1)
About Names
4(1)
Clients and Servers
5(1)
What Is a Socket?
6(1)
Exercises
6(3)
Basic Sockets
9(28)
Socket Addresses
9(3)
TCP Sockets
12(11)
UDP Sockets
23(11)
Exercises
34(3)
Sending and Receiving Messages
37(24)
Encoding Information
39(3)
Composing I/O Streams
42(1)
Framing and Parsing
42(4)
Implementing Wire Formats in Java
46(12)
Wrapping Up
58(1)
Exercises
59(2)
Beyond the Basics
61(32)
Multitasking
61(14)
Nonblocking I/O
75(4)
Multiple Recipients
79(5)
Socket Options
84(1)
Closing Connections
85(6)
Applets
91(1)
Wrapping Up
91(1)
Exercises
91(2)
Under the Hood
93(18)
Buffering and TCP
95(2)
Buffer Deadlock
97(3)
Performance Implications
100(1)
TCP Socket Life Cycle
100(7)
Demultiplexing Demystified
107(2)
Exercises
109(2)
Bibliography 111(2)
Index 113

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program