pull down to refresh
0 sats \ 1 reply \ @rblb 12 Apr \ parent \ on: You might not need WebSockets tech
Ok.. i'll try once again:
This entire concept will not work reliably because servers, intermediaries and clients will drop the connection if there is no data transmission for some time. That's what i mean with "not working in real life". You'll have to send keepalive packets and do all the stuff that tcp is already doing for you.
HTTP streaming is to stream data you already have (eg. streaming a video from netflix or the feed from twitch), they are not designed for what is shown in the example, for the things i said earlier.
If you don't believe me or don't get it, I think you should look into why websockets were created in the first place.