Created
August 7, 2012 05:45
-
-
Save heapwolf/3282056 to your computer and use it in GitHub Desktop.
tcp/client-connection
This file contains 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
var net = require('net'); | |
var port = 4001; | |
var host = 'localhost'; | |
var conn = net.createConnection(port, host); |
Author
heapwolf
commented
Aug 7, 2012
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment