I agree with the last comment that feof should not hang.
Sample script: $fd = fsockopen('www.php.net', 80); feof($fd);
This hangs for PHP >= 4.3.5 and PHP 5
Regards, - Chris
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php