From: [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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]