options for the QModbusClient socket
-
Hi. We are developing a client-server application using QModbusClient (TCP) under linux. Faced with a problem: the ConnectedState status does not change if you pull the cable out of the network card. The state changes only after a long time (about 40 minutes). It was found that when creating a socket, you can specify parameters responsible for delays tcp_user_timeout, tcpkeepalive and others. But when we make a connection, we cannot specify such QModbusClient options. What solution can there be for such a situation?