shutdownAsync

open fun shutdownAsync(shutdownRead: Boolean, shutdownWrite: Boolean, ioPriority: Int, cancellable: Cancellable? = null, callback: AsyncReadyCallback)

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

Since

2.48

Parameters

shutdownRead

true to stop reception of incoming datagrams

shutdownWrite

true to stop sending outgoing datagrams

ioPriority

the iface.AsyncResult.html#io-priority of the request

cancellable

a #GCancellable, or null

callback

callback to call when the shutdown operation is complete