Learn R Programming

RGtk2 (version 2.20.31)

gSocketClientConnectToHostAsync: gSocketClientConnectToHostAsync

Description

This is the asynchronous version of gSocketClientConnectToHost.

Usage

gSocketClientConnectToHostAsync(object, host.and.port, default.port, cancellable = NULL, callback, user.data = NULL)

Arguments

object
a GTcpClient
host.and.port
the name and optionally the port of the host to connect to
default.port
the default port to connect to
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 gSocketClientConnectToHostFinish to get the result of the operation. Since 2.22