<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hi Vans,</div><div><br data-mce-bogus="1"></div><div>I haven't played with it yet, but with the DTLS stack in R20 creating a DTLS server should be mostly identical to a TLS server.</div><div><br data-mce-bogus="1"></div><div>For an example on how this works with my old, patched version, you could check out the CAPWAP [1] project.</div><div><br></div><div>Regards</div><div>Andreas</div><div><br data-mce-bogus="1"></div><div>[1]: https://github.com/travelping/capwap</div><div><br data-mce-bogus="1"></div><span id="zwchr" data-marker="__DIVIDER__">----- On Jun 12, 2017, at 9:34 AM, Vans S <vans_163@yahoo.com> wrote:<br></span><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_1_1497252692473_2527" dir="ltr">I am trying to implement a DTLS server but having trouble.<br><br>The DTLS client works great, used RoadRunners patches and example.<br><br>For the server side I had success to what I think was accepting a peer using the undocumented 'dtls' module directly, but I cannot send to the socket.<br><br id="yui_3_16_0_1_1497252692473_2576">Does anyone have a clue how to create a DTLS server in erlang?</div></div><br>_______________________________________________<br>erlang-questions mailing list<br>erlang-questions@erlang.org<br>http://erlang.org/mailman/listinfo/erlang-questions<br></blockquote></div></div></body></html>