lookupByNameWithFlagsAsync

open fun lookupByNameWithFlagsAsync(hostname: String, flags: ResolverNameLookupFlags, cancellable: Cancellable? = null, callback: AsyncReadyCallback?)

Begins asynchronously resolving @hostname to determine its associated IP address(es), and eventually calls @callback, which must call g_resolver_lookup_by_name_with_flags_finish() to get the result. See g_resolver_lookup_by_name() for more details.

Since

2.60

Parameters

hostname

the hostname to look up the address of

flags

extra #GResolverNameLookupFlags for the lookup

cancellable

a #GCancellable, or null

callback

callback to call after resolution completes