I am using NRF52840dk boards to make an openThread mesh network with CoAP. There is an example in NRF-SDK for coap client and another example for coap server. I used them and did the example project given Nordic documents. One board is server and others are client. It worked correctly.
My purpose is to adapt this example to my own project. I want reverse of exampel project. There will be one client and others will be server. After I search, I learnt that the sockets must be adjusted to implement my project.
For example; I want one client and four server. How many sockets does my client need? Is it four? And, How many sockets does my each server need? İs it just one?
Is it enough to adjust sockets? Where can I start? The example codes (one client and one server) make me confused. NRF is using Zephry RTOS.