How can I set up a CoAP server using the libcoap library on a Raspberry Pi using c language?

@Middleware & OS Hello guys how can I set up a CoAP server using the libcoap library on a Raspberry Pi using c language. And also, are there any specific considerations or common pitfalls to avoid when setting up a CoAP server with libcoap on Raspberry pi?
2 Replies
Joseph Ogbonna
GitHub
GitHub - keith-cullen/FreeCoAP: An implementation of a CoAP client,...
An implementation of a CoAP client, a CoAP server and a HTTP/CoAP proxy with full DTLS support. - keith-cullen/FreeCoAP