Method Protocols.DNS.async_client()->ip_to_host()
- Method
ip_to_host
Requestip_to_host(stringip,function(string,string,__unknown__... :void)callback,mixed...args)- Description
Looks up the host name for an IP number, and when done calls the function callback with the IP number adn host name as arguments.
- Returns
Returns a Request object where progress can be observed from the retries variable and the request can be cancelled using the
cancelmethod.
- Method
ip_to_host
variantConcurrent.Futureip_to_host(stringip)- Description
Looks up the host name for an IP number. Returns a Concurrent.Future object that resolves into the host name, or 0 if it is missing.