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

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/15549#discussion_r639883692">sys/net/application_layer/gcoap/gcoap.c</a>:</p>
<pre style='color:#555'>> @@ -887,8 +1125,16 @@ size_t gcoap_req_send(const uint8_t *buf, size_t len,
         }
     }
 
+    ssize_t res = 0;
+    coap_socket_t socket = { 0 };
+
+    _tl_get_socket(&socket);
+#if IS_ACTIVE(CONFIG_GCOAP_ENABLE_DTLS)
</pre>
<p>Dropped, and checked  the socket type here.</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/15549#discussion_r639883692">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYCRD2IRGOWRV4BMHSDTPUM3XANCNFSM4UL2PR7Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYGIQKJINXDTD3JQX6DTPUM3XA5CNFSM4UL2PR72YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOE7R233A.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/15549#discussion_r639883692",
"url": "https://github.com/RIOT-OS/RIOT/pull/15549#discussion_r639883692",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>