JavaScript socket vs. Flash socket?
- by Dr.Dredel
Steve Jobs just posted this article on why Apple rejects Flash...
http://www.apple.com/hotnews/thoughts-on-flash/
I agree that javascript and css can be used to replicate some of Flash's animation, though Flash does all sorts of scaling and tweening that is incredibly powerful, and I'm not sure that there's anything comparable in javascript, if there is, I certainly haven't seen it.
However, my question is about the socket. Flash has an incredibly powerful openSocket class that allows you to connect to a server and have the server and the client talk back and forth to one another. As far as I know there is no equivalent class in Javascript. Am I mistaken? Is there some secret mystery Ajax class that replicates the openSocket? If not, then that feature alone makes Flash an invaluable tool.
I'm interested in all answers though... and yes this IS a programming question! :)