Hi Alberto Glad I could help!
I advice to not use the code in production without having tested it extensiveley. I did not check for memory leaks. If you made any improvements to the code, I would appreciate when you post them here. Cheers, Till On 25.01.19 23:46, Alberto Garcia wrote: > Hi, > > I made your code compile. It is super helpful!! Thank you so much! > > On Fri, Jan 25, 2019 at 11:07 AM Alberto Garcia > <agarciaill...@gmail.com <mailto:agarciaill...@gmail.com>> wrote: > > thanks, > > what is the #include "config.h" that you include at the beginning? > > Cheers > > On Fri, Jan 25, 2019 at 6:26 AM <g4-l...@tonarchiv.ch > <mailto:g4-l...@tonarchiv.ch>> wrote: > > On 24.01.19 22:09, Alberto Garcia wrote: >> Can you please post the link to the mentioned code? >> Thanks > > Here you go. > > Till > >> >> On Thu, Jan 24, 2019, 12:47 PM <g4-l...@tonarchiv.ch >> <mailto:g4-l...@tonarchiv.ch> wrote: >> >> On 24.01.19 21:12, Alberto Garcia wrote: >> >> > Hi, >> > >> > How can I read multiple new incoming channels under the >> same session >> > in a libssh server? I need this since when using >> dynamic port >> > forwarding and per every SOCKS5 request it creates a >> new channel as >> > you can see in this log (gotten with -vvv): >> > >> Have a look at my quick n dirty sample here on the >> mailing list... I >> think i'ts just doing what you need: It accepts >> forwarding channels. But >> it's plain C. >> >> Till >> >> > > > -- > Alberto García Illera > > GPG Public Key <https://goo.gl/yshdwh> > > > > -- > Alberto García Illera > > GPG Public Key <https://goo.gl/yshdwh>