is a gnutls_session_t type.
unsigned int retrans_timeout
The time at which a retransmission will occur in
unsigned int total_timeout
The time at which the connection will be aborted, in
This function will set the timeouts required for the DTLS handshake
protocol. The retransmission timeout is the time after which a
message from the peer is not received, the previous messages will be
retransmitted. The total timeout is the time after which the
handshake will be aborted with GNUTLS_E_TIMEDOUT.
The DTLS protocol recommends the values of 1 sec and 60 seconds
respectively, and these are the default values.
To disable retransmissions set a retrans_timeout larger than the
This page is part of the GnuTLS (GnuTLS Transport Layer Security
Library) project. Information about the project can be found at
⟨http://www.gnutls.org/⟩. If you have a bug report for this manual
page, send it to firstname.lastname@example.org.. This page was obtained from the
tarball gnutls-3.5.9.tar.xz fetched from
⟨http://www.gnutls.org/download.html⟩ on 2017-03-13. If you discover
any rendering problems in this HTML version of the page, or you
believe there is a better or more up-to-date source for the page, or
you have corrections or improvements to the information in this
COLOPHON (which is not part of the original manual page), send a mail
gnutls 3.5.9 gnutls_dtls_set_timeouts(3)