The UNIX Operating System

TOP

UP


Ray Seyfarth

ORCA


Computer Science

COST

USM




Single-Process Server Design


  • Master uses select to wait for connections over a set of passive TCP sockets

  • After each accept the new socket is added to the fd_set(s) as needed to handle client communication

  • Complex if the client protocols are not trivial


University of Southern Mississippi
Ray.Seyfarth@usm.edu
Updated 20:05 Jun 5, 2000