DEV Community


Discussion on: Explain WebSockets like I'm five

bgadrian profile image
Adrian B.G.

Normal web communication: you send letters to Santa Clause, and he responds on Christmas. He can't contact you directly, only as a response to your call (love).

Web communication trough a web socket: you call Santa (or video call) and you can talk with him as long as the channel is open.

You = client like a browser
Santa = the server

Forem Open with the Forem app