Resolver.lookupByNameWithFlagsAsync

void lookupByNameWithFlagsAsync(string hostname, gio.types.ResolverNameLookupFlags flags, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Begins asynchronously resolving hostname to determine its associated IP address(es), and eventually calls callback, which must call [gio.resolver.Resolver.lookupByNameWithFlagsFinish] to get the result. See [gio.resolver.Resolver.lookupByName] for more details.

Parameters

hostnamethe hostname to look up the address of
flagsextra #GResolverNameLookupFlags for the lookup
cancellablea #GCancellable, or null
callbackcallback to call after resolution completes