Re: Bug #12570 Updated: feof () - no break on eof of socket
| From: | Jani Taskinen | Date: | Tue, 07 Aug 2001 16:59:05 +0000 |
| Subject: | Re: Bug #12570 Updated: feof () - no break on eof of socket | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-62446@lists.php.net to get a copy of this message | ||
Would you also mind telling WHY it's analyzed? :)
ie. If you could reproduce it by yourself, mention it.
And always try reproducing bugs with the latest CVS.
--Jani
On 7 Aug 2001 alindeman@php.net wrote:
>ID: 12570
>Updated by: alindeman
>Reported By: m.leuffen@i-line.net
>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] m.leuffen@i-line.net
>
>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
>
>
>