Skip to content

Instantly share code, notes, and snippets.

@ryantenney
Forked from ry/telnet.js
Created November 18, 2010 05:51
Show Gist options
  • Save ryantenney/704670 to your computer and use it in GitHub Desktop.
Save ryantenney/704670 to your computer and use it in GitHub Desktop.
var p=process,n=require('net'),a=p.argv.slice(2),s=n.Stream();s.connect.apply(s,a);s.pipe(p.stdout);p.openStdin().pipe(s);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment