Method
GioDtlsConnectionhandshake_async
since: 2.48
Declaration [src]
void
g_dtls_connection_handshake_async (
  GDtlsConnection* conn,
  int io_priority,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)
Description [src]
Asynchronously performs a TLS handshake on conn. See
g_dtls_connection_handshake() for more information.
Available since: 2.48
This method completes asynchronously. Use g_dtls_connection_handshake_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
- io_priority
- 
            Type: intThe I/O priority of the request. 
- cancellable
- 
            Type: GCancellableA GCancellable, orNULL.The argument can be NULL.The data is owned by the caller of the method. 
- callback
- 
            Type: GAsyncReadyCallbackCallback to call when the handshake is complete. The argument can be NULL.
- user_data
- 
            Type: gpointerThe data to pass to the callback function. The argument can be NULL.The data is owned by the caller of the method.