Resolver.lookupServiceAsync

void lookupServiceAsync(string service, string protocol, string domain, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Begins asynchronously performing a DNS SRV lookup for the given service and protocol in the given domain, and eventually calls callback, which must call [gio.resolver.Resolver.lookupServiceFinish] to get the final result. See [gio.resolver.Resolver.lookupService] for more details.

Parameters

servicethe service type to look up (eg, "ldap")
protocolthe networking protocol to use for service (eg, "tcp")
domainthe DNS domain to look up the service in
cancellablea #GCancellable, or null
callbackcallback to call after resolution completes