ID: 5480 Updated by: sniper Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: Misbehaving function Bug Type: Sockets related Assigned To: Comments: Previous Comments: --------------------------------------------------------------------------- [2000-07-09 06:54:14] [EMAIL PROTECTED] $fp = fsockopen("localhost", "8000", &$errno, &$errstring, 3); if(!$fp) { echo "$errstr ($errno)<br>n"; } else { set_socket_blocking($fp, False); fputs($fp, $message); //while (!feof($fp)) { //$string .= fread($fp, 20); $string .= fgets($fp, 60); //print("MESSAGE FGETS: $message<BR>n"); print("MESSAGE : $stringn"); //} //fpassthru($fp); print("MESSAGE FINISHED : $stringn"); fclose($fp); //print("Message Received : $loginReceived<BR>"); } --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=5480 -- 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]