UNIX Network Programming: The Sockets Networking API



The Transport Layer: TCP, UDP, and SCTP

Introduction Section 5.2. TCP Echo Server: main Function Section 5.3. TCP Echo Server.

Sockets Introduction

The select and poll Functions Section 6.1. Introduction Section 6.2. I/O Models Section.

Elementary TCP Sockets

getsockopt and setsockopt Functions Section 7.3. Checking if an Option.

TCP Client/Server Example

Introduction Section 8.2. recvfrom and sendto Functions Section 8.3. UDP Echo Server: main.

I/O Multiplexing: The Functions

Introduction Section 9.2. Interface Models Section 9.3. sctp_bindx Function Section 9.4. sctp_connectx Function.

Socket Options

Introduction Section 10.2. SCTP One-to-Many-Style Streaming Echo Server: main Function Section 10.3. SCTP

Elementary UDP Sockets

Introduction Section 11.2. Domain Name System (DNS) Section 11.3. gethostbyname Function Section.

Elementary SCTP Sockets

Introduction Section 12.2. IPv4 Client, IPv6 Server Section 12.3. IPv6 Client, IPv4 Server.

SCTP Client/Server Example

Daemon Processes and the inetd Superserver

Name and Address Conversions

Introduction Section

IPv4 and IPv6 Interoperability

Daemon Processes and the Superserver

Unix Domain Socket Address Structure

Advanced I/O Functions

Section 16.1. Introduction Section 16.2. Nonblocking Reads and Writes: str_cli Function (Revisited) Section 16.3. Nonblocking...

Unix Domain Protocols

octl Section 17.1. Introduction Section 17.2. ioctl Function Section 17.3. Socket Section 17.4. File Section...

Nonblocking I/O

Section 18.1. Introduction Section 18.2. Datalink Socket Address Structure Section 18.3. Reading and Writing Section...

Routing Sockets

Section 20.1. Introduction Section 20.2. Broadcast Addresses Section 20.3. Unicast versus Broadcast Section 20.4. dg_cli...

Key Management Sockets

Section 21.1. Introduction Section 21.2. Multicast Addresses Section 21.3. versus Broadcasting on a LAN Section..