Trying to implement Modbus TCP using InterNiche's TCP/IP stack.
The implementation is a modbus TCP server. The problem I am having is handling when multiple clients connect to the server. This requires the server to listen and communicate on multiple open sockets.
Does anyone know of an example with this stack for handling multiple sockets for Modbus TCP, or just handling multiple open sockets in general?
Or, can this stack be configured to only accept one connection? Right now when a second client attempts to connect, the stack/communications freezes. I am not sure why yet.