gSocketClientConnectToHostAsync {RGtk2}R Documentation

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

callback

a GAsyncReadyCallback

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

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.20.21 Index]