views:

71

answers:

3

I found web-socket-js for running WebSocket in Flash.

If I run WebSocket under Flash, can all browsers with Flash player installed support this?

A: 

I'm afraid not no, only a scant few browsers support WebSockets at the moment.

On the other hand, if your web host lets you open listener sockets then you can achieve binary level connectivity to resources you control - if that is indeed what you are looking for?

http://livedocs.adobe.com/flex/3/langref/flash/net/Socket.html

Ben
A: 

Not all but a few more than the web browsers that have native support for websockets today (I know that at least Google Chrome, has native support for it since 6 months or so).

From the README:

It should work on:

  • Google Chrome 4 or later (just uses native implementation)
  • Firefox 3.x, Internet Explorer 8 + Flash Player 9 or later

It may or may not work on other browsers such as Safari, Opera or IE 6. Patch for these browsers are appreciated, but I will not work on fixing issues specific to these browsers by myself.

Jonas
A: 

Thanks for your response, but in fact if you are using Flash Socket instead of HTML5 WebSocket, all browsers can support your website. (With Flash Player plugin)

For more information, please see : http://github.com/gimite/web-socket-js

Afshin Mehrabani
No, you are wrong. I actually quoted the README file from that site. And you asked for **WebSocket** in Flash.
Jonas
Thanks you dear Jonas, what your mean about "And you asked for WebSocket in Flash"?
Afshin Mehrabani