Method
IbisClientconnect
since: 0.1
Declaration [src]
void
ibis_client_connect (
IbisClient* client,
const char* hostname,
guint16 port,
const char* password,
gboolean tls,
GCancellable* cancellable,
GProxyResolver* proxy_resolver
)
Description [src]
Attempts to connect to hostname
on port
.
If password
is provided, it will be deleted immediately after use.
Available since: 0.1
Parameters
hostname
-
Type:
const char*
The hostname or IP address to connect to.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. port
-
Type:
guint16
The port to connect to.
password
-
Type:
const char*
The optional server password to use.
The argument can be NULL
.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. tls
-
Type:
gboolean
If true use a TLS connection.
cancellable
-
Type:
GCancellable
A
GCancellable
.The argument can be NULL
.The data is owned by the caller of the method. proxy_resolver
-
Type:
GProxyResolver
The argument can be NULL
.The data is owned by the caller of the method.