Subject: Re: Multiple connections in a single SSH reverse tunnel

Re: Multiple connections in a single SSH reverse tunnel

From: Atri Sharma <atri.jiit_at_gmail.com>
Date: Wed, 24 Jul 2013 23:38:50 +0530

Right, thanks a ton!

On Wed, Jul 24, 2013 at 11:37 PM, Peter Stuge <peter_at_stuge.se> wrote:
> Atri Sharma wrote:
>> the issue I am facing is that I need to detect that I have a
>> new incoming connection and then spawn a new thread for forwarding it
>> to the local port,right?
>
> No. You should study basic single-threaded C programming using
> select() with multiple file descriptors. You don't need threads.
>
>
> //Peter
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

-- 
Regards,
Atri
l'apprenant
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2013-07-24