Peter,

On Wed, Feb 29, 2012 at 12:08 AM, Peter Stuge <pe...@stuge.se> wrote:

> Mitchell Hashimoto wrote:
> > I could iterate through each channel and do a channel_read()
>
> Indeed. See example/direct_tcpip.c or example/tcpip-forward.c.
>
>
> > but I was hoping perhaps there was a better way?
>
> Sorry not at this time. I think we want callbacks though, so feel
> free to discuss and send patches. :)
>

Understood. Thanks.

I haven't been using libssh2 long enough to feel comfortable enough in
suggesting API improvements, since I haven't quite immersed myself in the
"libssh2 way." But I agree that callbacks would be fantastic.

Best,
Mitchell


>
>
> //Peter
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to