How can I know if a node that is being accessed using TCP socket is alive or if the connection was interrupted and other errors?
Thanks!
asked Sep 28, 2010 at 13:51
carlosalbertomst
5137 silver badges18 bronze badges
1 Answer 1
You can't. Any intermediate nodes can drop your packets or the reply packets from the remote node.
answered Sep 28, 2010 at 13:57
florin
14.4k6 gold badges50 silver badges47 bronze badges
Sign up to request clarification or add additional context in comments.
1 Comment
S.Lott
+1: It's down when you get an EOF or an Exception. Until then, it's up.
lang-py