1gnutls_record_recv_seq(3)           gnutls           gnutls_record_recv_seq(3)
2
3
4

NAME

6       gnutls_record_recv_seq - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       ssize_t  gnutls_record_recv_seq(gnutls_session_t  session, void * data,
12       size_t data_size, unsigned char * seq);
13

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_session_t type.
17
18       void * data the buffer that the data will be read into
19
20       size_t data_size
21                   the number of requested bytes
22
23       unsigned char * seq
24                   is the packet's 64-bit sequence number. Should  have  space
25                   for 8 bytes.
26

DESCRIPTION

28       This  function  is the same as gnutls_record_recv(), except that it re‐
29       turns in addition to data, the sequence number of the  data.   This  is
30       useful in DTLS where record packets might be received out-of-order. The
31       returned 8-byte sequence number is an integer in big-endian format  and
32       should be treated as a unique message identification.
33

RETURNS

35       The number of bytes received and zero on EOF.  A negative error code is
36       returned in case of an error.  The number of bytes  received  might  be
37       less than  data_size .
38

SINCE

40       3.0
41

REPORTING BUGS

43       Report bugs to <bugs@gnutls.org>.
44       Home page: https://www.gnutls.org
45
46
48       Copyright © 2001- Free Software Foundation, Inc., and others.
49       Copying  and  distribution  of this file, with or without modification,
50       are permitted in any medium without royalty provided the copyright  no‐
51       tice and this notice are preserved.
52

SEE ALSO

54       The  full  documentation  for gnutls is maintained as a Texinfo manual.
55       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
56       visit
57
58       https://www.gnutls.org/manual/
59
60gnutls                               3.7.8           gnutls_record_recv_seq(3)
Impressum