by tylermauthe · 12y ago · 0 comments
My initial concern is connection stability issues. What happens if the client's connection drops out for a period of time? Do clients have to explicitly leave the channel?
My team was estimating a story recently which could have used this, but we didn't want to spend the time and effort to build a whole infrastructure for one message. This would have been perfect! If I find some time, I'll give it a try and send you my feedback.
In a browser, the TCP connection will close itself. On a mobile device, the TCP connection will close when the network connection drops.
I suppose a server could reliably keep a TCP connection open, but at that point why wouldn't I just deal with the messages myself..?