Virtual Method
GioDtlsConnectionshutdown_async
since: 2.48
Declaration [src]
void
shutdown_async (
GDtlsConnection* conn,
gboolean shutdown_read,
gboolean shutdown_write,
int io_priority,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Asynchronously shut down part or all of the DTLS connection. See
g_dtls_connection_shutdown() for more information.
Available since: 2.48
Parameters
shutdown_read-
Type:
gbooleanTRUEto stop reception of incoming datagrams. shutdown_write-
Type:
gbooleanTRUEto stop sending outgoing datagrams. 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 shutdown operation is complete.
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.