ID: 12570
Updated by: alindeman
Reported By: [EMAIL PROTECTED]
Status: Analyzed
Bug Type: Network related
Operating System: SuSE 7.0
PHP Version: 4.0.6
New Comment:
status -> analyzed (!)
Previous Comments:
------------------------------------------------------------------------
[2001-08-04 20:43:38] [EMAIL PROTECTED]
Hallo,
I have a problem with the fsock-Funktions:
$sock = fsockopen ($ip, $port, &$errno, &$errstr, 30);
while (!feof ($sock)) {
echo fgetc ($sock);
flush ()
}
fclose ($sock);
This function hangs after correct output of the initial Data. (It seems that feof ()
ist false also on end of the $sock)
Or is there an other way to check if the end is reached?
By(t)e,
Matthias
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12570&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]