Including the node_modules folder for socket.io code.
[KiwiIRC.git] / ws.html
1 <script>
2 alert(typeof WebSocket);
3 /*
4 var conn = new WebSocket("ws://wuthost.net:7777/~wok/miblol/sessionname");
5 conn.onopen = function(evt) { alert("Conn opened"); }
6 conn.onread = function(evt) { alert("Read: " + evt.data); }
7 conn.onclose = function(evt) { alert("Conn closed"); }
8
9 conn.send("Hello World")
10 */
11 </script>