SocketAddressEnumerator.nextAsync

void nextAsync(gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Asynchronously retrieves the next #GSocketAddress from enumerator and then calls callback, which must call [gio.socket_address_enumerator.SocketAddressEnumerator.nextFinish] to get the result.

It is an error to call this multiple times before the previous callback has finished.

Parameters

cancellableoptional #GCancellable object, null to ignore.
callbacka #GAsyncReadyCallback to call when the request is satisfied