Hello, simple question: $sock = fsockopen($server_ip, $server_port, $errno, $errstr, 30); while(!feof($sock)) echo fgets($sock,4096); fclose($sock); why does the while() makes an infinite loop, like if FEOF was never found ? what is the character used to tell if there's an EOF or not ? could my problem come from the server i'm connecting to which to not send a "legit" string ? thanks Arnauld Dravet [EMAIL PROTECTED]
- Re: [PHP] problem while reading on sockets ... Arnauld Dravet - smurfie
- Re: [PHP] problem while reading on sockets .... David Robley
- Re: [PHP] problem while reading on socke... Arnauld Dravet - smurfie