gnutls_record_discard_queued3
Api function
Usage
size_t gnutls_record_discard_queued(gnutls_session_t
session);
Arguments
- gnutls_session_t session
-
is a
gnutls_session_ttype.
Overview
This function discards all queued to be sent packets in a DTLS session. These are the packets queued after an interrupted gnutls_record_send().
This function can only be used with transports where send() is an all-or-nothing operation (e.g., UDP). When partial writes are allowed this function will cause session errors.
Returns
The number of bytes discarded.
Since
3.4.0
History
- Arch Linux 2026-11-01: the text shown here
- Debian 13 (Trixie)
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster)
- Debian 9 (Stretch)