in reply to To Fork for Not to Fork
In a forking server, the child process handles the request, and the parent process goes back to waiting for new clients. If you want to separate reading and writing, the child process can fork again, with the grandchild handling reading and the child writing.
|
|---|