SocketListener.acceptSocketAsync

This is the asynchronous version of gio.socket_listener.SocketListener.acceptSocket.

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

class SocketListener
void
acceptSocketAsync

Parameters

cancellable gio.cancellable.Cancellable

a #GCancellable, or null

callback gio.types.AsyncReadyCallback

a #GAsyncReadyCallback