array( "8.8.8.8" ), "port"=>53 ),null); ares_gethostbyname($uv,$domain, AF_INET, function($name, $addr) use ($path, $host){ $a = array_shift($addr); $address = uv_ip4_addr($a,"80"); $tcp = uv_tcp_init(); uv_tcp_connect($tcp, $address, function($stat, $client) use ($path, $host){ $request = <<