2. |
Why is a concurrent server able to remain available for incoming connections?
Please select the best answer.
|
|
A. |
Because it uses fewer system resources, such as entries in the kernel's process table, than an iterative server |
|
B. |
Because it relies on the inetd process to listen to many ports simultaneously |
|
C. |
Because it calls fork() to split itself into a child and parent process, so while the child handles the connection, the parent listens on the original port
|
|
D. |
Because it uses the exec() system calls to start the specific server processes needed to handle the connection at that well-known port
|
|
The correct answer is C. A concurrent server spawns new copies of itself to handle multiple incoming connections.
|