Method
GioSocketListeneraccept_async
Declaration
void
g_socket_listener_accept_async (
GSocketListener* listener,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
This is the asynchronous version of g_socket_listener_accept().
When the operation is finished callback
will be
called. You can then call g_socket_listener_accept_finish()
to get the result of the operation.
Available since: | 2.22 |
Parameters
cancellable |
GCancellable |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
callback |
GAsyncReadyCallback |
A |
|
The argument can be NULL . | |
user_data |
gpointer |
User data for the callback. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |