socket timeout issue

From: Date: Thu, 05 Dec 2002 17:26:13 +0000
Subject: socket timeout issue
Groups: php.windows 
Request: Send a blank email to php-windows+get-17296@lists.php.net to get a copy of this message
Hi, apparently this does not work with socket_read() but only with higher level socket functions (fread etc). However I have found a function called socket_set_nonblock(socketname) which apparently does something very similar, it prevents the socket_read from waiting to receive data. I simply built my own timeout loop into the code and voila!! Gareth

« previous php.windows (#17296) next »