[riot-notifications] [RIOT-OS/RIOT] net/gcoap: support DTLS (#15549)

János Brodbeck notifications at github.com
Fri May 28 13:13:08 CEST 2021


> > ```
> > * Made one gcoap API change: Changed return type from `gcoap_req_send` from size_t to int, to allow negative return values. In this case, `gcoap_req_send` now returns `-ENOTCONN`, when the authentication process with the remote peer failed.
> > ```
> 
> Why not `ssize_t` then?

True, I change it to ssize_t, that makes sense to keep, because positive values still returns sent bytes.

Regarding moving to a separate PR: I can do that. Gives possibly also again more attention that this PR is (IMHO) in advanced state.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15549#issuecomment-850343746
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210528/365fa1f8/attachment.htm>


More information about the notifications mailing list