This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
—– BEGIN LICENSE —– | |
K-20 | |
Single User License | |
EA7E-940129 | |
3A099EC1C0B5C7C5 33EBF0CF BE82FE3B |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
In the node.js intro tutorial (http://nodejs.org/), they show a basic tcp | |
server, but for some reason omit a client connecting to it. I added an | |
example at the bottom. | |
Save the following server in example.js: | |
*/ | |
var net = require('net'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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() | |
{ |