See also Randal Schwartz's Web Techniques columns, particularly 23 and 24. He builds a fork()ing mini web server there.
If you're determined to keep your existing code, I would look at your while loop. There seems to be no way to exit it, and perhaps the socket is timing out.
In reply to Re: Can you tell me why?
by chromatic
in thread Can you tell me why?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |