Skip to content

Instantly share code, notes, and snippets.

@heapwolf
Created August 7, 2012 05:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heapwolf/3281997 to your computer and use it in GitHub Desktop.
Save heapwolf/3281997 to your computer and use it in GitHub Desktop.
tcp/echo-server
require('net').createServer(function(socket) {
socket.pipe(socket);
}).listen(4001);
@heapwolf
Copy link
Author

heapwolf commented Aug 7, 2012

node echo_server.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment