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.
In reply to Re: To Fork for Not to Fork
by iburrell
in thread To Fork for Not to Fork
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |