Created
April 4, 2011 16:55
-
-
Save zTrix/901969 to your computer and use it in GitHub Desktop.
Node js echo server
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
var net=require("net"); | |
var sys=require("sys"); | |
var server=net.createServer(function(socket){ | |
socket.pipe(socket); | |
}); | |
server.listen(3601,null); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment