Method Protocols.DNS.async_client()->get_mx()
- Method
get_mx
Requestget_mx(stringhost,function(array(string),__unknown__... :void)callback,mixed...args)- Description
Looks up the mx pointers for a host, and when done calls the function callback with the results as an array of strings. These can be host names, IP numbers, or a mix.
- Returns
Returns a Request object where progress can be observed from the retries variable and the request can be cancelled using the
cancelmethod.
- Method
get_mx
variantConcurrent.Futureget_mx(stringhost)- Description
Looks up the mx pointers for a host. Returns a Concurrent.Future object that resolves into an array of strings.