Method

GioSocketConnectionconnect_finish

Declaration

gboolean
g_socket_connection_connect_finish (
  GSocketConnection* connection,
  GAsyncResult* result,
  GError** error
)

Description

Gets the result of a g_socket_connection_connect_async() call.

Available since:2.32

Parameters

result GAsyncResult
 

The GAsyncResult.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if the connection succeeded, FALSE on error.