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:
guint16The 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:
gbooleanIf true use a TLS connection.
cancellable-
Type:
GCancellableA
GCancellable.The argument can be NULL.The data is owned by the caller of the method. proxy_resolver-
Type:
GProxyResolverThe argument can be NULL.The data is owned by the caller of the method.