WebSockets

Back to Other Networking Topics

A protocol providing full-duplex, persistent communication channels over a single TCP connection. After an HTTP upgrade handshake, both client and server can send messages independently at any time. Ideal for real-time applications: chat, live updates, gaming, collaborative editing.

Key Properties

  • HTTP 2 (server push provides limited push capability)
  • gRPC (bidirectional streaming alternative)

networking websockets real-time