In modern web applications, real-time communication with the server is becoming typical scenario. HTML5 WebSockets opens up many exciting possibilities for creating robust real-time applications. WebSocket provides a full-duplex communication channel between a web browser and server over a single connection. Trading, chat, collaboration, multiplayer games are few examples of such applications. Multiple attempts have been made in past to bring real-time communication to the web. These attempts used non-standard techniques like long-polling, comet, flash to simulate a persistent connection to the server.
Read More