Unix Network Programming, Volume 1: The Sockets Networking API (3rd Edition)

Chapter 30. Client/Server Design Alternatives

Section 30.1.   Introduction

Section 30.2.   TCP Client Alternatives

Section 30.3.   TCP Test Client

Section 30.4.   TCP Iterative Server

Section 30.5.   TCP Concurrent Server, One Child per Client

Section 30.6.   TCP Preforked Server, No Locking Around accept

Section 30.7.   TCP Preforked Server, File Locking Around accept

Section 30.8.   TCP Preforked Server, Thread Locking Around accept

Section 30.9.   TCP Preforked Server, Descriptor Passing

Section 30.10.   TCP Concurrent Server, One Thread per Client

Section 30.11.   TCP Prethreaded Server, per-Thread accept

Section 30.12.   TCP Prethreaded Server, Main Thread accept

Section 30.13.   Summary

Exercises

Категории