From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.1.1 PHP Bug Type: Sockets related Bug description: socket_set_blocking doesn't work
I'm using Apache1.3.22/PHP4.1.1 on Windows 2000. When I use socket_set_blocking($fp, FALSE); PHP doesn't read any more data from the socket: ... do { if ($ch=fgetc($fp)) echo dechex(ord($ch))." "; ... if ($ch==chr(0x2A)) { ... } sleep(1); ... } while (1); ... This does work with socket blocking enabled but with socket blocking disabled I don't get any more data in my PHP-Script ! -- Edit bug report at http://bugs.php.net/?id=15430&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15430&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15430&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15430&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15430&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15430&r=support Expected behavior: http://bugs.php.net/fix.php?id=15430&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15430&r=notenoughinfo -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php