How to implement a TCP server with multiple client connections without RTOS ?
Hi,
I would like to implement a Modbus TCP server based on the library cubeMX and LWIP with the ability of multiple client connections.
With only one client, it works perfectly well. With 2 clients, they can connect simultaneously but as soon as both send simultaneously a request, one of the 2 requests is discarded and it blocks the client.
I checked the LWIP statistics but everything seems ok.
I have to mention that I do not use a RTOS.
Browsing the net, I didn’t find any example of multiple connection without RTOS, does anyone already succeed implementing such behavior?
Many thanks in advance for your help
