Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Has there been traffic during that two minutes?

In theory, a TCP session can remain alive forever. In practice, various things got in the way, and you need traffic to keep it alive (keep-alive, ping, heartbeat, it gets given various names). I believe once a minute should be enough. I’ve encountered "ping" and "" used as SSE event names for this purpose.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: