Tcp socket hangs after some inaction time
Hi list, I'm coding a client in LWW 5.1.2 that communicates with a server written in erlang. The exchanges seems to be ok when the communication is continuous. However if there is no communication between the client & the server for a long period of time (I am not able to determine it precisely but it's something in the range 15 to 30 minutes) then the socket hangs in one way meaning that the server is no more capable of pushing data to the client. What I see : - The erlang server is not blocked at this state as I am able to continue using it with another client : it is pushing data into the socket TCP buffer until it's filled and then it blocks (seems ok to me) - The socket is still alive - When the client writes something new onto the socket, then the socket is "unfrozen" after a few seconds (20) and the client gets the data that was waiting in the server's buffer. What could cause this ? Does I need to code some ping-pong exchange to maintain the socket active ? Thanks, Sébastien Saint-Sevin