Created
August 7, 2012 05:40
-
-
Save heapwolf/3281997 to your computer and use it in GitHub Desktop.
tcp/echo-server
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
require('net').createServer(function(socket) { | |
socket.pipe(socket); | |
}).listen(4001); |
Author
heapwolf
commented
Aug 7, 2012
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment