Table of Contents
Cover
Title Page
Copyright
Preface to the Second Edition
Changes from the First Edition
Platform Requirements and Portability
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?
Exercises
Chapter 2: Basic TCP Sockets
2.1 IPv4 TCP Client
2.2 IPv4 TCP Server
2.3 Creating and Destroying Sockets
2.4 Specifying Addresses
2.5 Connecting a Socket
2.6 Binding to an Address
2.7 Handling Incoming Connections
2.8 Communication
2.9 Using IPv6
Chapter 3: Of Names and Address Families
3.1 Mapping Names to Numbers
3.2 Writing Address-Generic Code
3.3 Getting Names from Numbers
Chapter 4: Using UDP Sockets
4.1 UDP Client
4.2 UDP Server ...