help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Timers in nonblocking DTLS


From: Catalin Patulea
Subject: Re: Timers in nonblocking DTLS
Date: Mon, 10 Dec 2012 09:30:35 -0800

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 <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]