DEV Community


Discussion on: Explain WebSockets like I'm five

whatsdonisdon profile image
Don Pinkus

Usually on the web, you ask someone (googles servers) for something (googles webpage).

A websocket lets someone (googles servers) tell you something even if you didn't ask for it (a new gchat message)

Forem Open with the Forem app