October 2010
Intermediate to advanced
1552 pages
45h 39m
English
This chapter discusses the fundamentals of designing iterative and concurrent servers and describes inetd, a special daemon designed to facilitate the creation of Internet servers.
Two common designs for network servers using sockets are the following:
• Iterative: The server handles one client at a time, processing that client’s request(s) completely, before proceeding to the next client.
• Concurrent: The server is designed to handle multiple clients simultaneously.
We have already seen an example of an iterative server using FIFOs in Section 44.8 and an example of a concurrent server using System V message queues in Section 46.8.
Iterative servers are usually suitable only when ...
Read now
Unlock full access