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
service | the service type to look up (eg, "ldap") |
protocol | the networking protocol to use for service (eg, "tcp") |
domain | the DNS domain to look up the service in |
cancellable | a #GCancellable, or null |
callback | callback to call after resolution completes |