Bug #15430: socket_set_blocking doesn't work

From: Date: Thu, 07 Feb 2002 14:43:52 +0000
Subject: Bug #15430: socket_set_blocking doesn't work
Groups: php.dev 
Request: Send a blank email to php-dev+get-79529@lists.php.net to get a copy of this message
From: armageddon@raydan.de 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

« previous php.dev (#79529) next »