Resolver.lookupByAddressFinish

Retrieves the result of a previous call to g_resolver_lookup_by_address_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
string
lookupByAddressFinish

Parameters

result AsyncResultIF

the result passed to your GAsyncReadyCallback

Return Value

Type: string

a hostname (either ASCII-only, or in ASCII-encoded form), or NULL on error.

Throws

GException on failure.

Meta