Does anybody have ideas or solutions for this type of problem.here is the code<?phperror_reporting(E_ALL);$server_port=12345;$nbytes=30720; //30 KB$username = "fpu";$password = "fpubm123";//$request ="1:" . $_REQUEST[$username] . ":" . $_REQUEST[$password];$request ="1:" . $username . ":" . $password;// Create a TCP/IP socket.$fp = stream_socket_client("tcp://217.35.137.164:" . $server_port, $errno, $errstr, 5);if (!$fp) { $temp="ERROR: connection to socket server failed...."; $output="<HTML>\n<BODY>\n" . $temp ." errno: ". $errno ." errstr:". $errstr."\n</BODY>\n</HTML>";} else { fwrite($fp, $request . "\n"); $response = fread($fp, $nbytes); if(strcmp(substr($response,0,4),"ERROR")==0) $output="<HTML><BODY>" . $response . "</BODY></HTML>"; else $output=$response; }echo $output;?>