Resolver.lookupByAddressFinish

Retrieves the result of a previous call to Resolver.lookupByAddressAsync.

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.

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

Since

2.22