1gnutls_dtls_set_timeouts(3)         gnutls         gnutls_dtls_set_timeouts(3)
2
3
4

NAME

6       gnutls_dtls_set_timeouts - API function
7

SYNOPSIS

9       #include <gnutls/dtls.h>
10
11       void  gnutls_dtls_set_timeouts(gnutls_session_t  session,  unsigned int
12       retrans_timeout, unsigned int total_timeout);
13

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_session_t type.
17
18       unsigned int retrans_timeout
19                   The time at which a retransmission will occur in  millisec‐
20                   onds
21
22       unsigned int total_timeout
23                   The  time  at which the connection will be aborted, in mil‐
24                   liseconds.
25

DESCRIPTION

27       This function will set the timeouts required  for  the  DTLS  handshake
28       protocol.  The retransmission timeout is the time after which a message
29       from the peer is not received, the previous messages will  be  retrans‐
30       mitted. The total timeout is the time after which the handshake will be
31       aborted with GNUTLS_E_TIMEDOUT.
32
33       The DTLS protocol recommends the values of 1 sec and 60 seconds respec‐
34       tively, and these are the default values.
35
36       To  disable  retransmissions  set  a   retrans_timeout  larger than the
37       total_timeout .
38

SINCE

40       3.0
41

REPORTING BUGS

43       Report bugs to <bugs@gnutls.org>.
44       Home page: http://www.gnutls.org
45
46
48       Copyright © 2001-2018 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
51       notice 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       http://www.gnutls.org/manual/
59
60gnutls                               3.6.5         gnutls_dtls_set_timeouts(3)
Impressum