[php] php_network_getaddresses: getaddrinfo failed: No such host is known

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
 error:
php_network_getaddresses: getaddrinfo failed: No such host is known

 $fstream = stream_socket_client("$con:$ip:$port", $errno, $errstr,
$timeout);

 if($fstream){
  $br = fwrite($fstream,$login_request_block);
  $str = stream_get_contents($fstream);
  print( "Connection successful: $str ");
 }
 else{
  return  " str: $str<br>write:$br<br> $errstr ($errno)";
 }

What could be the error


-- 
www.bemycandy.com

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux