SocketAddressEnumerator.nextAsync

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.

class SocketAddressEnumerator
void
nextAsync

Parameters

cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore.

callback gio.types.AsyncReadyCallback

a #GAsyncReadyCallback to call when the request is satisfied