HTML 5 is so cool I'm sure it will never really get here. Check out this latest proposal: WebSocket, "a full-duplex communications channel that operates over a single socket."

JavaScript:
var conn = new WebSocket("ws://www.example.com/livedemo");
conn.onopen = function(evt) { alert("Conn opened"); }
conn.onread = function(evt) { alert("Read: " + evt.data); }
conn.onclose = function(evt) { alert("Conn closed"); }
conn.send("Hello World")
Nice!
- jim 7-08-2008 2:51 pm

More detailed explanation.
- jim 7-08-2008 3:59 pm





add a comment to this page:

Your post will be captioned "posted by anonymous,"
or you may enter a guest username below:


Line breaks work. HTML tags will be stripped.