Resolver.lookupByNameWithFlagsAsync

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

hostname string

the hostname to look up the address of

flags gio.types.ResolverNameLookupFlags

extra #GResolverNameLookupFlags for the lookup

cancellable gio.cancellable.Cancellable

a #GCancellable, or null

callback gio.types.AsyncReadyCallback

callback to call after resolution completes