We may earn an affiliate commission when you visit our partners.

WebSocket

Save
May 11, 2024 4 minute read

WebSocket is a computer communications protocol, providing full-duplex communication channels over a single TCP connection. The WebSocket protocol was standardized by the IETF as RFC 6455 in 2011, and the WebSocket API is supported in all major web browsers. WebSocket is designed to be used for two-way communication between a web browser and a server, and it is often used for real-time applications such as chat, multiplayer games, and financial data streaming.

How WebSocket Works

WebSocket establishes a persistent connection between a client and a server, allowing for real-time, bidirectional communication. Unlike HTTP, which is a request-response protocol, WebSocket uses a single TCP connection for both sending and receiving data. This persistent connection eliminates the need for repeated HTTP handshakes, resulting in lower latency and improved performance for real-time applications.

Share

Help others find this page about WebSocket: by sharing it with your friends and followers:

Reading list

We've selected five books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in WebSocket.
Provides an in-depth exploration of WebSocket technology and its applications. It covers the WebSocket protocol, client-server implementation, and advanced topics such as security, scalability, and debugging. The author's practical experience in building WebSocket-based applications makes this book a valuable resource for developers looking to master the technology.
Focuses on the enterprise applications of WebSocket technology. It covers topics such as building scalable and reliable WebSocket-based systems, security considerations, and best practices for deploying WebSocket-based applications in a production environment. The author's experience in enterprise software development makes this book a valuable resource for architects and developers looking to implement WebSocket-based solutions in an enterprise setting.
Table of Contents
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser