Open apoorvcn47 opened 3 years ago
Did it work for you?
Did it work for you?
No. I have a separate loop which reads a server register every 30s. In that way, I am keeping the connection alive. But I am sure there is a built in way to do the same. Is there any parameter I can check to make sure that hearbeat loop is working?
when I connect to a server, if there is no data transfer for 60 seconds, the host closes the connection. I thought the whole point of keep alive thread was to avoid this problem. Am I doing something wrong here?