RGtk2 (version 2.20.31)

gSocketClientConnectAsync: gSocketClientConnectAsync

Description

This is the asynchronous version of gSocketClientConnect.

Usage

gSocketClientConnectAsync(object, connectable, cancellable = NULL, callback, user.data = NULL)

Arguments

object
a GTcpClient
connectable
a GSocketConnectable specifying the remote address.
cancellable
a GCancellable, or NULL
user.data
user data for the callback

Details

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