note 10767 rejected and deleted from Socket functions by zak
| From: | zak@php.net | Date: | Sun, 21 Jan 2001 09:41:28 +0000 |
| Subject: | note 10767 rejected and deleted from Socket functions by zak | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-10033@lists.php.net to get a copy of this message | ||
How would one set a max seconds on a read()? I have a script that's probing various servers,
and I write() the logon the attempt to read() the response. Sometimes the server connects the
socket, accepts the write(), but the never sends anything... I need a "timeout" for the
read() function... any ideas?
-z-