Resolver.lookupServiceAsync

Begins asynchronously performing a DNS SRV lookup for the given @service and @protocol in the given @domain, and eventually calls @callback, which must call g_resolver_lookup_service_finish() to get the final result. See g_resolver_lookup_service() for more details.

class Resolver
void
lookupServiceAsync

Parameters

service string

the service type to look up (eg, "ldap")

protocol string

the networking protocol to use for @service (eg, "tcp")

domain string

the DNS domain to look up the service in

cancellable Cancellable

a #GCancellable, or %NULL

callback GAsyncReadyCallback

callback to call after resolution completes

userData void*

data for @callback

Meta

Since

2.22