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
Help-gnutls@gnu.org
https://lists.gnu.org/mailman/listinfo/help-gnutls

Reply via email to