DtlsConnectionT.shutdownAsync

Asynchronously shut down part or all of the DTLS connection. See g_dtls_connection_shutdown() for more information.

template DtlsConnectionT(TStruct)
void
shutdownAsync
(,,,
Cancellable cancellable
,
GAsyncReadyCallback callback
,
void* userData
)

Parameters

shutdownRead bool

%TRUE to stop reception of incoming datagrams

shutdownWrite bool

%TRUE to stop sending outgoing datagrams

ioPriority int

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

cancellable Cancellable

a #GCancellable, or %NULL

callback GAsyncReadyCallback

callback to call when the shutdown operation is complete

userData void*

the data to pass to the callback function

Meta

Since

2.48