That doesn't look like a pre-forking server.for ($i=0; $i < $MAX_CLIENTS_PER_CHILD; $i++) { ($client) = $server->accept( ) or last;
You might want to go see how I do it in my pre-forking anonymous proxy server column.
Unless you're showing only the part after the fork?
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to Re: Pre-Forking Server, Reading client data
by merlyn
in thread Pre-Forking Server, Reading client data
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |