SocketAddressEnumerator.nextAsync

Asynchronously retrieves the next #GSocketAddress from @enumerator and then calls @callback, which must call g_socket_address_enumerator_next_finish() to get the result.

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

class SocketAddressEnumerator
void
nextAsync
(,
GAsyncReadyCallback callback
,
void* userData
)

Parameters

cancellable Cancellable

optional #GCancellable object, %NULL to ignore.

callback GAsyncReadyCallback

a #GAsyncReadyCallback to call when the request is satisfied

userData void*

the data to pass to callback function

Meta