JavaScript socket vs. Flash socket?
Posted
by Dr.Dredel
on Stack Overflow
See other posts from Stack Overflow
or by Dr.Dredel
Published on 2010-04-30T04:16:43Z
Indexed on
2010/04/30
4:27 UTC
Read the original article
Hit count: 277
JavaScript
|actionscript
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! :)
© Stack Overflow or respective owner