Re:Adobe Donates Flex to Apache
by mappu on Thursday November 17, 2011 @05:19PM
(#3249488)
Flex can open a direct TCP socket connection. With HTML5, you're stuck with long polling, keep-alives and WebSockets, all of which require HTTP headers and hence can't be used to interface with existing services without a proxy.
[ Parent
| on HN ]
Well, you do (as of Flash Player 9) need a policy server [1] running, so connecting to existing services is still pretty much impossible.
[1] http://www.adobe.com/devnet/flashplayer/articles/socket_poli...
Mmm, yes. However, the policy server runs on a different port. So you can still use an unmodified ircd, for instance, and connect directly to it from Flash as long as the policy server is running.
It's a different way of getting around the security problems, and it's a lot less intrusive than the WebSockets way of sticking an HTTP header in front of the whole thing, which would actually require modifying the server service instead of just running one piece of additional software.