Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • It looks like the long-polling aspect of socket.io is taking a more prominent role in the latest incarnation called engine.io released just 4 days ago: github.com/LearnBoost/engine.io (Instead of falling back to long-polling, it will fall forward to WebSockets. For my applications, long-polling may not be such a bad thing if it doesn't fall forward for some people.) I'd be interested in what you think about this. Commented Nov 22, 2011 at 18:52
  • If you're happy with long polling, i.e. you're only interested in quickly getting data from the server to the client, then try using Server-Sent Events which are HTTP-compatible and you can do fallback with XHR long polling. Commented Nov 22, 2011 at 20:49
  • I looked into Server-Sent Events and became bitterly disappointed that IE is holding us back again: caniuse.com/eventsource Commented Nov 24, 2011 at 0:34
  • 1
    I found a project that makes this work for IE6+ and I tested it in several browsers: github.com/Yaffle/EventSource Commented Nov 24, 2011 at 1:27