Client-Server Programs

The most common form of distributed application is the client-server model. In this scheme, client processes request services from a server process.

An alternate scheme is a service server that can eliminate dormant server processes. An example is inetd, the Internet service daemon. inetd listens at a variety of ports, determined at startup by reading a configuration file. When a connection is requested on an inetd serviced port, inetd spawns the appropriate server to serve the client. Clients are unaware that an intermediary has played any part in the connection. For more information, see inetd Daemon.