|
From: | Catalin Patulea |
Subject: | Re: Timers in nonblocking DTLS |
Date: | Mon, 10 Dec 2012 09:30:35 -0800 |
Hello,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?
I think gnutls_dtls_get_timeout() is the function you're looking for.
regards,
Nikos
[Prev in Thread] | Current Thread | [Next in Thread] |