Skip to content

Instantly share code, notes, and snippets.

@mizzy
Created April 9, 2013 08:26
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 mizzy/5343964 to your computer and use it in GitHub Desktop.
Save mizzy/5343964 to your computer and use it in GitHub Desktop.
var net = require('net');
var server = net.createServer(function (socket) {
socket.on('data', function (data) {
socket.write(data);
});
});
server.listen(8000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment