kablooie

To share , learn and express my views. (mostly technical)

WebSockets now available in Chrome

The Google Chrome developer channel release 4.0.429.0 now supports HTML5 WebSockets. This is great news for people who want real time asynchronous communication on web and were till now relying on polling or other non standard mechanisms. WebSockets  is a new bi-directional communication channel that is part of HTML5 specification. WebSockets allows full duplex communication that operates over a single TCP/IP connection. The WebSockets API is exposed via JavaScript and built-in support exists in any HTML5 complaint Web browsers.  I hope more browsers start supporting this standard so we can finally say goodbye to non standard mechanisms such as long polling, COMET, BOSH etc.

3 responses to “WebSockets now available in Chrome

  1. yadab das December 14, 2009 at 1:53 pm

    Good, here is some help to understand web socket protocol –

    http://blogfranz.blogspot.com/2009/12/hello-websockets-via-pywebsockets.html

    But what I am no clear is how it is helping in server side except adding some extra data 🙂

  2. sureshkk December 14, 2009 at 3:48 pm

    Hi Yadab,
    Thanks for the link. I will write another post to explain the current methods for achieving asynchronous publish-subscribe kind of communication over HTTP without WebSockets, which I hope will show you the benefits of this approach.

  3. Pingback: Methods for asynchronous communication over HTTP « kablooie

Leave a comment