We have a win32 client application connected to a linux server with tcp/ip socket over a VPN connection. Occasionally the network will have a hiccup and our application receives a FD_CLOSE message. Sometimes a telnet connection will not disconnect while our applictions socket will get closed. I have read that there is not a way to set the underlying socket timeout, but was wondering if there is a way to make our application a little more robust and withstand the occational network problems that arise similar to the telnet sessions. Our application messaging is very sensitive however and demands that all messages be sent/received in the correct order.