Solved Multiple connections with QModbusTcpServer
-
What happens when there are multiple connections on the same port when using QModbusTcpServer? i.e. multiple clients querying the same server.
Thanks!
-
@Penta The documentation says (http://doc.qt.io/qt-5/qmodbustcpserver.html#details): "Communication via Modbus requires the interaction between a single Modbus client instance and single Modbus server".
I guess your use case is not supported? But I don't know what will happen if you try. -
@jsulm So, I suppose when the connection is busy it doesn't create other thread to attend more connections. Thanks for your response!
-
@Penta I don't know what will happen. But you could try to establish more than one connection and see what happens.