[PHP-WIN] socket timeout issue

2002-12-05 Thread Gareth Thomas
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 b

Re: [PHP-WIN] socket timeout

2002-12-05 Thread Stephen Edmonds
from these)' Stephen - Original Message - From: "Gareth Thomas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 05, 2002 4:55 PM Subject: [PHP-WIN] socket timeout Hi, I am attempting to timeout a socket_read() that is par

[PHP-WIN] socket timeout

2002-12-05 Thread Gareth Thomas
Hi, I am attempting to timeout a socket_read() that is part of a handshaking process using socket_set_timeout(). Problem is it doesn't seem to work at all. If I switch off the handshaking write on the server side the read just sits there and doesn't time out at all. I have tried socket_set_timeout

[PHP-WIN] Socket timeout - not supported?

2002-01-09 Thread Greg
Hi! Please help me. "Warning: socket_set_timeout() is not supported in this PHP build in ." Can I use function socket_set_timeout() on win32? Or may it be something in php.ini...and if not is there another way to get around it? Thanks, Greg -- PHP Windows Mailing List (http://www.php.