Please explain to me why or how to fix the problem.
I am having two machines. One running a Tserversocket program and the second is using a Tclient Socket to connect to the server.
if the socket is open for a while (more than 10 minutes) and if I try to
send a message from the client to the server, the server will not answer and if I retry again for 2 or 3 the server will start answering like the normal way.
It seems like the socket will go in a sleep mode. I don't know why? is there any properties that I need to set on the server side? is it related to the operating system?