Resolver.lookupServiceFinish

Retrieves the result of a previous call to g_resolver_lookup_service_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.

class Resolver
lookupServiceFinish

Parameters

result AsyncResultIF

the result passed to your #GAsyncReadyCallback

Return: a non-empty #GList of #GSrvTarget, or %NULL on error. See g_resolver_lookup_service() for more details.

Throws

GException on failure.

Meta

Since

2.22