Function
Dexsocket_client_connect_to_uri
unstable since: 1.2
Declaration [src]
DexFuture*
dex_socket_client_connect_to_uri (
GSocketClient* socket_client,
const char* uri,
guint16 default_port
)
Parameters
socket_client-
Type:
GSocketClientThe data is owned by the caller of the function. uri-
Type:
const char*URI to connect to.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. default_port-
Type:
guint16Default port to use.
Return value
Type: DexFuture
A DexFuture that resolves to a
GSocketConnection or rejects with error.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |