class Resolver
Defined at line 6674 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.
Deprecated: use HostNameResolver.
Public Members
static const char[] Name_
Public Methods
void ~Resolver ()
void ResolveHostName (::std::string host, int64_t timeout, ResolveHostNameCallback callback)
Gets the addresses for the specified host. `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.
A successful resolution may return one or both addresses. An
unsuccessful resolution is indicated when both addresses are null.