Method Protocols.DNS.async_client()->get_mx()


Method get_mx

Request get_mx(string host, 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 cancel method.


Method get_mx

variant Concurrent.Future get_mx(string host)

Description

Looks up the mx pointers for a host. Returns a Concurrent.Future object that resolves into an array of strings.