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. Since 2.22

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. [allow-none]

callback GAsyncReadyCallback

callback to call after resolution completes. [scope async]

userData void*

data for callback. closure

Meta