How to find server is down,

Posted by user363638 on Stack Overflow See other posts from Stack Overflow or by user363638
Published on 2010-06-16T04:39:40Z Indexed on 2010/06/16 4:42 UTC
Read the original article Hit count: 156

Filed under:
|

I have client and server in unix machine, how can i find out my server is down and reconnect to server. without bringing my client down. I am doing connect (), but read() isiving me error Transport endpoint is already connected. I am using C++ in solaris.

And what return value of read and connect should i check.

© Stack Overflow or respective owner

Related posts about tcp

Related posts about tcpclient