Ümit CAN wrote:
Hi All;
I use PHP socket programming and I wish multithreading operation of the socket .
When I have many requests on this  socket , before the  first one request is 
anwered , the second request  is not aswered  till the first one is finished.
How can both requests work together without waiting each other ?

1: you can't multi thread PHP
2: you can 'fork' PHP processes using the pcntl_ functions to achieve what you are looking for by making a cli based php deamon.

Best,

Nathan

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to