Resolver.lookupByNameFinish

Retrieves the result of a call to g_resolver_lookup_by_name_async(). 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 G_IO_ERROR_CANCELLED. Since 2.22

class Resolver
lookupByNameFinish

Parameters

result AsyncResultIF

the result passed to your GAsyncReadyCallback

Return Value

Type: ListG

a GList of GInetAddress, or NULL on error. See g_resolver_lookup_by_name() for more details. [element-type GInetAddress][transfer full]

Throws

GException on failure.

Meta