Created
October 22, 2014 12:33
-
-
Save kimjoar/8266b8b2e0dd00fb4a19 to your computer and use it in GitHub Desktop.
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 socket = net.connect({ port: 8001 }); | |
process.stdin | |
.pipe(socket) | |
.pipe(process.stdout); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment