1gnutls_record_discard_queued(3)     gnutls     gnutls_record_discard_queued(3)
2
3
4

NAME

6       gnutls_record_discard_queued - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       size_t gnutls_record_discard_queued(gnutls_session_t session);
12

ARGUMENTS

14       gnutls_session_t session
15                   is a gnutls_session_t type.
16

DESCRIPTION

18       This function discards all queued to be sent packets in a DTLS session.
19       These are the packets queued after an interrupted gnutls_record_send().
20
21       This function can only be used  with  transports  where  send()  is  an
22       all-or-nothing  operation  (e.g., UDP). When partial writes are allowed
23       this function will cause session errors.
24

RETURNS

26       The number of bytes discarded.
27

SINCE

29       3.4.0
30

REPORTING BUGS

32       Report bugs to <bugs@gnutls.org>.
33       Home page: https://www.gnutls.org
34
35
37       Copyright © 2001-2020 Free Software Foundation, Inc., and others.
38       Copying and distribution of this file, with  or  without  modification,
39       are  permitted  in  any  medium  without royalty provided the copyright
40       notice and this notice are preserved.
41

SEE ALSO

43       The full documentation for gnutls is maintained as  a  Texinfo  manual.
44       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
45       visit
46
47       https://www.gnutls.org/manual/
48
49gnutls                              3.6.13     gnutls_record_discard_queued(3)
Impressum