Html5 Web Sockets (tcp Connection), With Flash Fallback
I read about a project that enables the developer to program a HTML5 web sockets application that is compatible with older browsers by automatically falling back to using a flash m
Solution 1:
I've written a decent tutorial on this.
To summarize:
Include the web_socket.js
and flash (swf) object on the page and get going. The web_socket.js
object contains the necessary code to fallback on the FlashSocket if WebSockets are not supported.
If you want to use this in an actual application, you will have to server Flash Policy Files on port 843. I go over that too.
Post a Comment for "Html5 Web Sockets (tcp Connection), With Flash Fallback"