On Mon, Jul 19, 2010 at 9:45 AM, Gary wrote:
> How can I get calls to scoket_read to timeout if the server stops
> responding?

Sorry. Found it:
socket_set_option($sock, SOL_SOCKET, SO_RCVTIMEO, array('sec' => 1,
'usec' => 0));

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

Reply via email to