computeRetransmitTimeout
Compute retransmit timeout with exponential backoff.
The timeout starts at DTLS_INITIAL_TIMEOUT and doubles with each retry, up to DTLS_MAX_TIMEOUT. This implements the exponential backoff algorithm specified in RFC 6347 §4.2.4.1.
Parameters
retryCount | Number of retransmissions already performed. |
Returns
The timeout duration for the next retransmission.