I heard about the Web Sockets Interface in the HTML file specification from a relevant question here.
It sounds very promising!
I don’t understand how it works does it still use the HTTP protocol and works-around it or does it work something like TCP sockets?
I heard about the Web Sockets Interface in the HTML file specification from a
Share
The Web Socket protocol is a TCP based protocol, but it is design to downgrade to HTTP. There is also an HTTP handshake that asks the server to upgrade to the Web Sockets protocol. So if the server supports it, then a duplexed TCP connection will be used, otherwise resort to HTTP and the Comet hacks for that.