Books & Videos

Table of Contents

  1. Chapter 1 Basic Network Concepts

    1. Networks

    2. The Layers of a Network

    3. IP, TCP, and UDP

    4. The Internet

    5. The Client/Server Model

    6. Internet Standards

  2. Chapter 2 Streams

    1. Output Streams

    2. Input Streams

    3. Filter Streams

    4. Readers and Writers

  3. Chapter 3 Threads

    1. Running Threads

    2. Returning Information from a Thread

    3. Synchronization

    4. Deadlock

    5. Thread Scheduling

    6. Thread Pools and Executors

  4. Chapter 4 Internet Addresses

    1. The InetAddress Class

    2. Inet4Address and Inet6Address

    3. The NetworkInterface Class

    4. Some Useful Programs

  5. Chapter 5 URLs and URIs

    1. URIs

    2. The URL Class

    3. The URI Class

    4. x-www-form-urlencoded

    5. Proxies

    6. Communicating with Server-Side Programs Through GET

    7. Accessing Password-Protected Sites

  6. Chapter 6 HTTP

    1. The Protocol

    2. HTTP Methods

    3. The Request Body

    4. Cookies

  7. Chapter 7 URLConnections

    1. Opening URLConnections

    2. Reading Data from a Server

    3. Reading the Header

    4. Caches

    5. Configuring the Connection

    6. Configuring the Client Request HTTP Header

    7. Writing Data to a Server

    8. Security Considerations for URLConnections

    9. Guessing MIME Media Types

    10. HttpURLConnection

  8. Chapter 8 Sockets for Clients

    1. Using Sockets

    2. Constructing and Connecting Sockets

    3. Getting Information About a Socket

    4. Setting Socket Options

    5. Socket Exceptions

    6. Sockets in GUI Applications

  9. Chapter 9 Sockets for Servers

    1. Using ServerSockets

    2. Logging

    3. Constructing Server Sockets

    4. Getting Information About a Server Socket

    5. Socket Options

    6. HTTP Servers

  10. Chapter 10 Secure Sockets

    1. Secure Communications

    2. Creating Secure Client Sockets

    3. Choosing the Cipher Suites

    4. Event Handlers

    5. Session Management

    6. Client Mode

    7. Creating Secure Server Sockets

    8. Configuring SSLServerSockets

  11. Chapter 11 Nonblocking I/O

    1. An Example Client

    2. An Example Server

    3. Buffers

    4. Channels

    5. Readiness Selection

  12. Chapter 12 UDP

    1. The UDP Protocol

    2. UDP Clients

    3. UDP Servers

    4. The DatagramPacket Class

    5. The DatagramSocket Class

    6. Socket Options

    7. Some Useful Applications

    8. DatagramChannel

  13. Chapter 13 IP Multicast

    1. Multicasting

    2. Working with Multicast Sockets

    3. Two Simple Examples

  1. Index

  2. Colophon