accept_async


Description:

public async SocketConnection accept_async (Cancellable? cancellable = null, out Object source_object = null) throws Error

This is the asynchronous version of accept.

When the operation is finished callback will be called. You can then call accept_socket to get the result of the operation.

Parameters:

this

a SocketListener

cancellable

a Cancellable, or null

callback

a AsyncReadyCallback

user_data

user data for the callback