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 Resolver.lookupServiceFinish to get the final result. See Resolver.lookupService 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 gio.Cancellable, or NULL

callback GAsyncReadyCallback

callback to call after resolution completes

userData void*

data for callback

Meta

Since

2.22