首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

websocket在浏览器下的支持

2012-11-10 
websocket在浏览器上的支持转自: http://stackoverflow.com/questions/1253683/websocket-for-html5Client

websocket在浏览器上的支持
转自: http://stackoverflow.com/questions/1253683/websocket-for-html5
Client side

    Hixie 75/76:
        Chrome 4.0
        Safari 5.0.2
        iOS 4.2
        Firefox 4.0 - support for WebSockets disabled. To enable it see here.
        Opera 11 - with support disabled. To enable it see here.
    HyBi-07+:
        Chrome 14.0
        Firefox 6.0 - prefixed: MozWebSocket
        IE9, IE10 - via downloadable Silverlight extension
    Hybi-10:
        Chrome 14
        Firefox 7
        IE 10 (from Windows 8 developer preview)

Any browser with Flash can support WebSocket using the web-socket-js shim/polyfill.

See caniuse for the current status of WebSockets support in desktop and mobile browsers.

See the test reports from the WS testsuite included in Autobahn WebSockets for feature/protocol conformance tests.

Server side

It depends on which language you use.

In Java/JEE:

    Jetty 7.0 supports it (very easy to use)
    GlassFish 3.0 (very low level and sometimes complex), Glassfish 3.1 has new refactored Websocket Support which is more developer friendly
    Caucho Resin 4.0.2 (not yet tried)

Some other Java implementations:

    Kaazing Gateway
    jWebscoket
    Netty
    xLightWeb

In C#:

    SuperWebSocket
    Nugget
    Alchemy-Websockets

In PHP:

    phpwebsocket.
    Extendible Web Socket Server
    phpdaemon

热点排行