3 ms·
I don't think there is anything that can't be done with HTML5 (the whole stack, I mean), nowadays, and that Flex can do it. Flex can open a direct TCP socket
by mappu 15y ago
I don't think there is anything that can't be done with HTML5 (the whole stack, I mean), nowadays, and that Flex can do it.
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.
- udp 15y agoWell, 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_policy_files.html http://www.adobe.com/devnet/flashplayer/articles/socket_poli...
- mappu 15y agoMmm, 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.