gSocketClientConnectToHostAsync: gSocketClientConnectToHostAsync

Description Usage Arguments Details Author(s)

View source: R/gioFuncs.R

Description

This is the asynchronous version of gSocketClientConnectToHost.

Usage

1
2
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


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.