class HostNameResolver

Defined at line 6405 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

Discoverable protocol for resolving host names to IP addresses.

Public Members

static const char[] Name_

Public Methods

void ~HostNameResolver ()
void ResolveHostName (::std::string host, int64_t timeout, ::fuchsia::net::mdns::HostNameResolutionOptions options, ResolveHostNameCallback callback)

Gets the addresses for the specified host.

+ request `host` the simple name of the host.

+ request `timeout` specifies how long the service should wait before giving up when

waiting for a response to a resolution query. In typical use, a timeout of two or three

seconds is recommended.

+ request `options` options to be applied to the resolution.

- response `addresses` the addresses of the specified host, if it was found, an empty vector

if not.