help-gnutls
[Top][All Lists]
Advanced

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

Re: Timers in nonblocking DTLS


From: Nikos Mavrogiannopoulos
Subject: Re: Timers in nonblocking DTLS
Date: Mon, 10 Dec 2012 12:33:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121027 Icedove/10.0.10

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]