Gio.Resolver.prototype.lookup_by_address_async
function lookup_by_address_async(address: Gio.InetAddress, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { // Gjs wrapper for g_resolver_lookup_by_address_async() }
Begins asynchronously reverse-resolving address to determine its associated hostname, and eventually calls callback, which must call Gio.Resolver.prototype.lookup_by_address_finish to get the final result.
Since 2.22
- address
the address to reverse-resolve
- cancellable
a Gio.Cancellable, or null
- callback
callback to call after resolution completes