Thank you. I see that gnutls_dtls_get_timeout is based on last_retransmit. What about handshake_start_time and total_timeout_ms?
On Mon, Dec 10, 2012 at 3:33 AM, Nikos Mavrogiannopoulos <[email protected]>wrote: > On 12/09/2012 08:27 AM, Catalin Patulea wrote: > > > Hi, > > > > I'm having a hard time figuring out how timers work with nonblocking DTLS > > (gnutls_init with GNUTLS_DATAGRAM|GNUTLS_NONBLOCK). Let's say I've > started > > a handshake but the server hasn't responded yet. How do I know when to > call > > gnutls_handshake again so that it can retransmit or time out? > > Hello, > I think gnutls_dtls_get_timeout() is the function you're looking for. > > regards, > Nikos >
_______________________________________________ Help-gnutls mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-gnutls
