On 18 Feb 2002, Wayne Davison <[EMAIL PROTECTED]> wrote: > On Mon, 18 Feb 2002, Martin Pool wrote: > > Why the sleep() call?
I guess the point is that the fork() probably failed because the server is overloaded, and therefore there is no point trying to accept another connection again immediately. I just wanted to check this was the reason. > Also, why close(fd) twice? -- Martin