At 10:16 PM 2/12/2002 -0500, [EMAIL PROTECTED] wrote:
>There are a number of ways to deal with this, but creating a socket pool
>of active sockets, and have a number of threads handle the sockets in a
>classing queue fashion seems like the best way.
>
>Anyone have a better idea?

Either do a thread pool like you mention here or if you want to get maximum 
performance you should consider non-blocking I/O. Check out 
http://state-threads.sourceforge.net/

Andi


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to