Skip to content

Instantly share code, notes, and snippets.

@orkaplan
orkaplan / chat.html
Created January 15, 2013 22:10
simple node.js socket.io client/server example
<html>
<head>
<title>Node.js IL Chat</title>
<script type="text/javascript" src="/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="/socket.io/socket.io.js"></script>
<script language="javascript">
var socket;
$(document).ready(function()
{