[#DTLS_server_method]
= DTLS&lowbar;server&lowbar;method
:mrdocs:

Return a server&hyphen;only SSL&lowbar;METHOD that negotiates DTLS 1&period;0 or 1&period;2&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:SSL_METHOD.adoc[SSL&lowbar;METHOD] const*
DTLS&lowbar;server&lowbar;method();
----

== Return Value

Pointer to the static DTLS server SSL&lowbar;METHOD for use with SSL&lowbar;CTX&lowbar;new&period;


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