Is there some default timeout value set on the TCPClient after connection is estaqbilished?
I’ve a code that sends some data to the remote server at a random time intervals. Sometimes TCPClient could be seating without receiving or sending any data for more than a minute. after such a long wait on my server I can see that the connection form core is stuck in the CLOSE_WAIT state, although client.connected() returns true.
If that happens I’m forced to restart Core in order to reconnect to the server.
Now I’ve noticed that if core is sending data over the socket more frequently that problem is gone.