[PHP-DEV] Bug #10564: feof bug isn't fixed in windows versions. From: tarik_rahmanovic <email protected>
Date: 04/30/01

From: tarik_rahmanovic <email protected>
Operating system: win NT 4.0
PHP version: 4.0.4pl1
PHP Bug Type: *Function Specific
Bug description: feof bug isn't fixed in windows versions.

    while (!feof($sock)) {
        echo fgets ($sock, 128);
    }
    fclose ($sock);

This hangs forever, even though remote end closes connection
within 120 miliseconds. this is a known bug (discussed on the list), but the fix apperently didn't make it into the prepackaged windows release. Please do let me know when this is fixed, for i need it more than i need cocaine (and i really really need cocaine) thank you.

-- 
Edit Bug report at: http://bugs.php.net/?id=10564&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>