gSocketClientConnectToHostAsync

Share:

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.