Skip to content
briangonzalez edited this page Feb 25, 2013 · 4 revisions

IE9 and below require the use of a Flash-based polyfill. We've had good luck with web-socket-js.

The main "gotcha" involved with the Flash fallback is the Flash socket policy file, which is outlined here. Basically, sockets in Flash require a policy file hosted on port 843 of the websockets server which returns the following:

<cross-domain-policy>
  <allow-access-from domain="*" to-ports="*" />
</cross-domain-policy>

Hermes comes with a simple Ruby Flash Socket Policy Server which should only be used for testing locally.

Starting up a simple Flash Socket Policy Server

sudo ruby [hermes-repo]/examples/flash_policy_server.rb
Clone this wiki locally