<p><b>@pokgak</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/11909#discussion_r308128444">sys/include/net/sock/dtls.h</a>:</p>
<pre style='color:#555'>> + *
+ * @param[in] sock      DTLS sock to listen to
+ */
+void sock_dtls_init_server(sock_dtls_t *sock);
+
+/**
+ * @brief Establish DTLS session to a server. Execute the handshake step in
+ *        DTLS.
+ *
+ * @param[in]  sock     DLTS sock to use
+ * @param[in]  ep       Endpoint to establish session with
+ * @param[out] remote   The established session, cannot be NULL
+ *
+ * @return  0 on success
+ * @return  value < 0 on other errors
+ * @return  -EADDRNOTAVAIL, if sock_udp_ep_t::local of @p sock->udp_sock is not
</pre>
<blockquote>
<p>[...] word it more generic, e.g. "[…], if the local endpoint of the UDP sock of <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=125612" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/p">@p</a> sock is was not set".</p>
</blockquote>
<p>I think this will do. This way there is no need to add to the parameter list, which is quite long already.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/11909?email_source=notifications&email_token=ABE7WYC7F6BNZRZ554HZF6TQB2YD7A5CNFSM4IGRA3OKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB72CCXA#discussion_r308128444">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYGG7WSTZTSPIDRFO63QB2YD7ANCNFSM4IGRA3OA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYFU63NJWX6ECAKLZDLQB2YD7A5CNFSM4IGRA3OKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB72CCXA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/11909?email_source=notifications\u0026email_token=ABE7WYC7F6BNZRZ554HZF6TQB2YD7A5CNFSM4IGRA3OKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB72CCXA#discussion_r308128444",
"url": "https://github.com/RIOT-OS/RIOT/pull/11909?email_source=notifications\u0026email_token=ABE7WYC7F6BNZRZ554HZF6TQB2YD7A5CNFSM4IGRA3OKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB72CCXA#discussion_r308128444",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>