Hacker News new | ask | show | jobs
by bwooce 4446 days ago
If you want to know if the connection went down in a reasonable timeframe e.g tens of seconds, then you need to implement heartbeating over TCP. This is the first thing any new protocol on TCP usually does.