[php] socket connection problem
| From: | help | Date: | Wed, 27 May 2009 08:10:52 +0000 |
| Subject: | [php] socket connection problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-293194@lists.php.net to get a copy of this message | ||
Hi,
I am trying to connect to specific server using but I have the below error
messagr. Whta could be the problem?
$fp = fsockopen($ip,$port, $errno, $errstr, $timeout);
fwrite($fp,$LRG);
//return "$errstr ($errno)";
if (!$fp) {
echo "$errstr ($errno)"; //"$errstr ($errno)<br />\n";
}
*A connection attempt failed because the connected party did not properly
respond after a period of time, or established connection failed because
connected host has failed to respond. (10060)*