Resolver.lookupServiceFinish

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

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
lookupServiceFinish

Parameters

result AsyncResultIF

the result passed to your GAsyncReadyCallback

Return Value

Type: ListG

a non-empty GList of gio.SrvTarget, or NULL on error. See Resolver.lookupService for more details.

Throws

GException on failure.

Meta

Since

2.22