ID: 5480 Updated by: mfischer Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Sockets related Operating System: Win32 PHP Version: 4.0.0 New Comment:
Uh, 4.0.0 .. quite old ;) Can you try with latest RC and see if it works http://www.php.net/~zeev/php-4.1.0RC3.tar.gz Feedback. Previous Comments: ------------------------------------------------------------------------ [2000-08-04 12:13:58] [EMAIL PROTECTED] reclassify ------------------------------------------------------------------------ [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 : $string\n"); //} //fpassthru($fp); print("MESSAGE FINISHED : $string\n"); fclose($fp); //print("Message Received : $loginReceived<BR>"); } ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=5480&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]