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.
In reply to Re: Howto check if TCP connection is alive ?
by derby
in thread Howto check if TCP connection is alive ?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |