Function to get current dtls retransmit timeout

Nikos Mavrogiannopoulos nmav at gnutls.org
Fri Feb 17 08:51:17 CET 2012


On 02/17/2012 01:21 AM, Sean Buckheister wrote:

> Hi,
> 
> what I'm missing a little is a function to query the current value of
> the DTLS retransmit timer. This would be very useful for nonblocking
> operations. Without such knowledge one has to poll the handshake layer
> every so often, because it might want to retransmit something.
> Extracting the exact value would make polling unnecessary, since one
> could simply set the select() or similar timeout to that value.


So would a function that extracts the remaining time for a
retransmission be enough on that use case?

regards,
Nikos





More information about the Gnutls-devel mailing list