[#DTLS_timer_cb]
= DTLS&lowbar;timer&lowbar;cb
:mrdocs:

Callback that chooses the next DTLS retransmission timeout in microseconds&period;

== Synopsis

Declared in `&lt;openssl&sol;ssl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
typedef unsigned int(* DTLS&lowbar;timer&lowbar;cb)(xref:SSL.adoc[SSL]*, unsigned int);
----

== Return Value

Timeout interval in microseconds until the next DTLS timer expiry&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| DTLS SSL connection about to send a packet&period;
| *timer&lowbar;us*
| Previously returned timeout in microseconds, or 0 on the first call&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
