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