by amelius · 8y ago · 0 comments
As a simple example, consider a websocket connection and a client that tries to reopen the connection whenever it hasn't received a ping from the server in the last X seconds.
† I believe the Chromecast already operates on some variant of such a protocol. It'd just need to be modified to expect events to come from both sides, rather than only from the "sender" device. (And to remove any/all timeouts and keep-alive pings, of course.)
...or, you could just use https://mosh.org to shell into any random server and run shell commands (including, say, w3m. But even things like IRC would work this way!)