Resolver.lookupByNameWithFlagsFinish

gio.inet_address.InetAddress[] lookupByNameWithFlagsFinish(gio.async_result.AsyncResult result)

Retrieves the result of a call to [gio.resolver.Resolver.lookupByNameWithFlagsAsync].

If the DNS resolution failed, error (if non-null) will be set to a value from #GResolverError. If the operation was cancelled, error will be set to [gio.types.IOErrorEnum.Cancelled].

Parameters

resultthe result passed to your #GAsyncReadyCallback

Returns

a #GList

of #GInetAddress, or null on error. See [gio.resolver.Resolver.lookupByName] for more details.

Throws

[ErrorWrap]