in reply to Pre-Forking Server, Reading client data
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Pre-Forking Server, Reading client data
by Zaxo (Archbishop) on Aug 15, 2005 at 00:58 UTC |