monitoring more than two sockets (multitask ?)
| From: | Keith Ng | Date: | Tue, 24 Jul 2001 11:30:34 +0000 |
| Subject: | monitoring more than two sockets (multitask ?) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-59324@lists.php.net to get a copy of this message | ||
Hello,
I have a simple question.
How do I monitor two or more sockets in PHP?
Someone told me about register_tick_function() for multi tasking but I
played with it and nothing seems to come out of it.
I monitored the first opened socket using a while() loop containing a
fgets() function.