PHP time out for socket_recvfrom or socket_read block call
| From: | hce | Date: | Sat, 14 Jun 2008 10:14:05 +0000 |
| Subject: | PHP time out for socket_recvfrom or socket_read block call | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-275389@lists.php.net to get a copy of this message | ||
Hi,
How can use time out mechanism in PHP when calling socket_recvfrom or
socket_read (in block service)?
I know the non-block system call can be used, but I need to use a
block system call, the block socket_recvfrom or socket_read should be
either returned to be failed, or canceled when a time out is occurred.
Thank you.
Kind Regards,
Jim