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

Set a callback that controls DTLS retransmission timer duration&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
DTLS&lowbar;set&lowbar;timer&lowbar;cb(
    xref:SSL.adoc[SSL]* s,
    xref:DTLS_timer_cb.adoc[DTLS&lowbar;timer&lowbar;cb] cb);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| DTLS SSL connection whose timer callback is set&period;
| *cb*
| Callback invoked for each new DTLS packet&semi; NULL restores the default doubling schedule&period;
|===


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