gSocketClientConnectToHost
.gSocketClientConnectToHostAsync(object, host.and.port, default.port, cancellable = NULL, callback, user.data = NULL)
object
GTcpClient
host.and.port
default.port
cancellable
GCancellable
, or NULL
callback
user.data
callback
will be
called. You can then call gSocketClientConnectToHostFinish
to get
the result of the operation.
Since 2.22