Callback that chooses the next DTLS retransmission timeout in microseconds.

Synopsis

Declared in <openssl/ssl.h>

typedef unsigned int(* DTLS_timer_cb)(SSL*, unsigned int);

Return Value

Timeout interval in microseconds until the next DTLS timer expiry.

Parameters

Name

Description

s

DTLS SSL connection about to send a packet.

timer_us

Previously returned timeout in microseconds, or 0 on the first call.

Created with MrDocs