Networking

WebSocket

A connection that stays open between client and server, where both can send data at any time.

Example

An online game sends and receives moves 30 times per second over 1 WebSocket.

Test yourself: WebSocket

Real time: long polling, WebSockets and SSE

WebSocket gives ___ communication: both sides send data at once.

Lessons that use it

More networking terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.