in reply to Is there any way to connect two sockets together?
Why don't you just use SSH for that?
and it does exactly what your script is trying to do. But I'm still confused if that is what you want to do, as I see little use for it.ssh localhost -f -S -L $localport:$proxy:$proxyport
Cheers,
Jeroen
I was dreaming of guitarnotes that would irritate an executive kind of guy (FZ)
Update: The -S option of SSH makes sure it doesn't try to connect, only functions as portmapper. Moreover, I forgot the supply 'localhost', and the -f option is handy as well.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Is there any way to connect two sockets together?
by zigster (Hermit) on Jan 11, 2001 at 20:46 UTC | |
by jeroenes (Priest) on Jan 11, 2001 at 20:57 UTC | |
by zigster (Hermit) on Jan 11, 2001 at 20:59 UTC |
In Section
Seekers of Perl Wisdom