tproxy
Super simple tcp proxy.
var net = ;var proxy = ; net; net; var s = net; s; // will output 'proxied'
Installation
$ npm install tproxy --save
API
tproxy(sock, target)
Make a proxy between sock
and target
. This function returns an instance of net.Socket
, which is the socket connected to target
.
target
is what you'd normally call net.connect
with.
License
MIT License (see ./LICENSE
).
TODO
- tests