in reply to Howto check if TCP connection is alive ?

You cannot reliably prevent the closing of a tcp connection (that's just the nature of tcp). Your app should be checking the return value of the send method (and I'm just guessing that's what you're using to write to the socket) and act/react accordingly.

-derby
  • Comment on Re: Howto check if TCP connection is alive ?