Navigation Menu

Skip to content

Commit

Permalink
Merge pull request h5bp#43 from cboden/websockets
Browse files Browse the repository at this point in the history
WebSockets
  • Loading branch information
addyosmani committed Jan 23, 2012
2 parents 2224d97 + 00a759b commit d07ed72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion posts/websockets.md
Expand Up @@ -6,4 +6,6 @@ polyfillurls: [Socket.io](http://socket.io/), [web-socket-js](https://github.com

Making your app real-time is a huge boost and [Socket.io](http://socket.io/) is a Node+Javascript framework that helps with downlevel transports for browsers lacking native websocket support (and supports IE6+). However be prepared to tune your AJAX polling or Comet in order to meet the needs of your app.

As a word of caution, the protocol backing the Web Socket API has changed several times in the past year, but has matured enough to not introduce any more breaking changes.
[web-socket-js](https://github.com/gimite/web-socket-js) is a natural polyfill for the Javascript WebSocket API transferring data through Flash Sockets when WebSockets aren't available.

As a word of caution, the protocol backing the Web Socket API has become an [IETF standard](http://tools.ietf.org/html/rfc6455), but Safari has not yet implemented the new version. It is recommended forcing Flash on Safari (or disabling WebSockets on Safari) for now.

0 comments on commit d07ed72

Please sign in to comment.