santhana_lakshmi — 2011-06-28T05:39:28-04:00 — #1
While trying to use whois script,I am getting the following error.
Socket Error 10060 - 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.
how to fix this error?
starlion — 2011-06-28T08:15:12-04:00 — #2
10060 is connection timed-out. What are you trying to socket to?
santhana_lakshmi — 2011-06-29T00:51:40-04:00 — #3
In my coding i am tryiny to open whois server with the fsockopen function.
$fp = @fsockopen($whoisserver, $port, $errno, $errstr, $timeout) or die("Socket Error " . $errno . " - " . $errstr);
if($whoisserver == "whois.verisign-grs.com") $domain = "=".$domain; // whois.verisign-grs.com requires the equals sign ("=") or it returns any result containing the searched string.
fputs($fp, $domain . "\r\
starlion — 2011-06-29T08:41:34-04:00 — #4
It would seem that server is not online at the moment. Are you sure you've spelled the address correctly?