3 ms·
Thanks for this. > See `TCP_KEEPCNT` and friends Yeah, 3 options with manually tuning even the number of probes. And this is for one OS only. This is one reas
by klabb3 3y ago
Thanks for this.
> See `TCP_KEEPCNT` and friends
Yeah, 3 options with manually tuning even the number of probes. And this is for one OS only. This is one reason why application level pinging is just more feasible. I am using Go and gave up on tcp keepalives (even though they do have an std api) because the resulting behavior was a mess.
I don’t know if it should be the job of stdlibs or the OS, but at application level I’d prefer something like a single keepalive param with reasonable behavior.
- suprjami 3y agoYeah, what you say makes sense. I am sure you are not the first person to think of this. I wonder if a pre-made library exists for it? I couldn't find anything with a quick search.