[gnutls-help] Asynchronous transport
Nikos Mavrogiannopoulos
nmav at gnutls.org
Thu Apr 30 16:27:39 CEST 2015
On Thu, Apr 30, 2015 at 4:20 PM, Yury Shvedov
<yshvedov at wimarksystems.com> wrote:
> Unfortunately, it is still not correct. For the first time, my client
>
> gnutls_init(&m_session, GNUTLS_CLIENT | GNUTLS_DATAGRAM |
> GNUTLS_NONBLOCK);
> /* .... */
> gnutls_dtls_set_mtu(m_session, 1000);
> gnutls_handshake_set_timeout(m_session,
> GNUTLS_DEFAULT_HANDSHAKE_TIMEOUT);
In DTLS you have to use gnutls_dtls_set_timeouts(). Does that solve the issue?
regards,
Nikos
More information about the Gnutls-help
mailing list