SocketListener.acceptAsync

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

This is the asynchronous version of [gio.socket_listener.SocketListener.accept].

When the operation is finished callback will be called. You can then call [gio.socket_listener.SocketListener.acceptFinish] to get the result of the operation.

Parameters

cancellablea #GCancellable, or null
callbacka #GAsyncReadyCallback