Websocket

From Mibbit Wiki
Jump to: navigation, search

WebSocket is a system that allows a bidirectional tcp connection between browser and server. Mibbit can use this in place of Comet, in order to cut bandwidth and provide a faster experience for users. WebSocket is currently enabled by default in Chrome. In Firefox 4.0+ and Opera 11.0+ it has to be enabled manually.

How to enable WebSocket support:

Firefox:

  1. In the URL bar type: about:config
  2. Search for "websocket.override".
  3. Double-Click "network.websocket.override-security-block" (toggle to "true")

Opera:

  1. In the URL bar type: opera:config
  2. Search for "WebSockets".
  3. Click the "Enable WebSockets" check box
  4. Save (no reload needed).