note 10767 added to Socket functions

From: Date: Sun, 21 Jan 2001 07:45:00 +0000
Subject: note 10767 added to Socket functions
Groups: php.notes 
Request: Send a blank email to php-notes+get-10032@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- http://www.php.net/manual/en/ref.sockets.php

« previous php.notes (#10032) next »