SocketAddressEnumerator.nextAsync

Asynchronously retrieves the next gio.SocketAddress from enumerator and then calls callback, which must call Socket.addressEnumeratorNextFinish 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 Cancellable

optional gio.Cancellable object, NULL to ignore.

callback GAsyncReadyCallback

a GAsyncReadyCallback to call when the request is satisfied

userData void*

the data to pass to callback function