13
Now Lemmy Explain: WebSocket
(lemmy.world)
Locked for now. Will reopen if there is interest.
Inspired by r/eli5 and Casually Explained.
Now Lemmy Explain: Starting the "Now Lemmy Explain" community.
I've always felt like the name "Explain Like I'm 5" is patronizing (yes, I know, it's from an Office joke). I want to see a community that's better and more entertaining to read than how it was on reddit.
Now Lemmy Explain: The Rules:
When you visit a website your browser speaks with the server in http. It is structured in requests and responses. You request a text, you get it. You request to upload an image, it is done. Very useful, but what if you wanted to get a live feed of things. Imagine you wanted to chat. You could send many requests always asking "is there a new message?" and always getting "no". That's not good, with a websocket your webbrowser and the server establish a live connection. Now they can send and receive small pieces of information. For chatting, games, auctions and many other things websockets are useful.