Method

GioDtlsConnectionclose_async

since: 2.48

Declaration

void
g_dtls_connection_close_async (
  GDtlsConnection* conn,
  int io_priority,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description

Asynchronously close the DTLS connection. See g_dtls_connection_close() for more information.

Available since: 2.48

Parameters

io_priority

Type: int

The [I/O priority][io-priority] of the request.

cancellable

Type: GCancellable

A GCancellable, or NULL.

The argument can be NULL.
The data is owned by the caller of the function.
callback

Type: GAsyncReadyCallback

Callback to call when the close operation is complete.

The argument can be NULL.
user_data

Type: gpointer

The data to pass to the callback function.

The argument can be NULL.
The data is owned by the caller of the function.