mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-11 19:30:40 +03:00
Always delete PDUs on error before return from coap_send() (aligning with previous documentation). Check that the socket is still available before continuing with the PDU transmission in coap_send(). Update documentation to be clearer on non-usage of PDU on return from coap_send(). Trap coap_send() errors in coap-client. Move event handlers setup code to earlier in coap-client to trap events early on in the CoAP setup process.