www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: Callback for channel data ready

Re: Callback for channel data ready

From: Peter Stuge <peter_at_stuge.se>
Date: Wed, 29 Feb 2012 09:08:00 +0100

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. :)

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-02-29

the libssh2 team