Resolver.lookupByNameAsync
void lookupByNameAsync(string hostname, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Begins asynchronously resolving hostname to determine its associated IP address(es), and eventually calls callback, which must call gio.resolver.Resolver.lookupByNameFinish to get the result. See gio.resolver.Resolver.lookupByName for more details.
Parameters
hostname | the hostname to look up the address of |
cancellable | a #GCancellable, or null |
callback | callback to call after resolution completes |