SocketListener.acceptSocketAsync

This is the asynchronous version of g_socket_listener_accept_socket().

When the operation is finished @callback will be called. You can then call g_socket_listener_accept_socket_finish() to get the result of the operation.

class SocketListener
void
acceptSocketAsync

Parameters

cancellable Cancellable

a #GCancellable, or %NULL

callback GAsyncReadyCallback

a #GAsyncReadyCallback

userData void*

user data for the callback

Meta

Since

2.22