Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3390840
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T03:44:16+00:00 2026-05-18T03:44:16+00:00

WebSockets? I just recently ran across websockets and have heard some good things about

  • 0

WebSockets? I just recently ran across websockets and have heard some good things about it but have found html5 is not really readily available at this time so would it be worth it to change over to writing a browser based MMO into websockets and getting the gamers to upgrade/download what they need or use comet and if someones browser supports websockets; run it that way? Any thoughts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T03:44:17+00:00Added an answer on May 18, 2026 at 3:44 am

    Answer: It’s not too new and you can use now on almost every browser.

    WebKit has had WebSockets support for quite a while (basically anybody using Safari or Chrome has it). Starting with iOS 4.2 WebSockets have been turned on (Apple had left it de-activated in previous versions). Opera 11.0 will have it (10.7 is now 11.0). Firefox 4.0 has it included but disabled by default (enabled in about:config). Firefox 5.0 or 6.0 will likely have it on by default.

    For other browsers you can use web-socket-js which is a Flash based fallback. It works well and it’s easy to do automatic fallback. It is slower than native WebSockets but still has far lower latency then AJAX/COMET.

    If Javascript is a valid option for the backend then you might consider using Node and the Socket.IO library for Node. Socket.IO is mainly a server-side library that supports WebSockets (it incorporates the web-socket-js falback) and various AJAX/COMET/long-poll methods. The client side of Socket.IO allows you to use the same API as on the server side (it’s very similar to the normal WebSockets API) and it does detection and selects the optimal transport. The AJAX/COMET/long-poll transports are only used if the browser doesn’t have native WebSockets and you choose not to use the fallback.

    Included with noVNC (HTML5 VNC client) is websockify which is a WebSockets to TCP socket proxy. There are three implementations: C, python and Node. It might be a useful reference for you. noVNC transfers large amounts of data over WebSockets and it is very sensitive to latency. The Flash fallback is definitely less efficient, but it is still has very usable performance. (Disclaimer: I made noVNC)

    In summary: the only place WebSockets is not supported right now is browsers without native WebSockets and without Flash (i.e. current iOS and older Android phones).

    A couple of misc notes:

    • I find http://caniuse.com to be best resource for HTML5 (and related) browser support information.

    • HTML5 Cross-browser Polyfills is a very useful (and long) list of shims, fallbacks, and polyfills that add HTML5 features to browsers that don’t support them.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm starting to read about websockets, but I can't find a good WebSocket server
I am looking to start a HTML5 WebSockets project and I was just wondering
My possibilities are limited, as I do have a nice host but can just
I don't have a specific query here ; just need some design guidelines. I
I just read about HTML 5's WebSocket interface. How can I start trying this?
Is it possible to have WebSockets with HTTPS? When switching to HTTPS, my WebSocket
I'm not currently trying to set up a server with Websockets. Eventually I will,
I am trying to create a chrome extension using HTML5 WebSockets and can't get
I have a stream of JSON objects, as with JSON-RPC over TCP or WebSockets.
I was excited by the prospect of WebRTC when I heard about it initially.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.