On Thu, 3 Jun 2010, Jose Baars wrote:
>> The function can be called over and over and it will repeatedly
>> return info about what channels that are readable at that moment.
>
> Ideally you would have this event driven, i.e. a channel signal the app that
> something could be read or written in stead of the app polling.
But the app isn't polling here. It gets data back every call. Having the
function do a callback is doable but we don't actually gain anything by that.
libssh2 is fully possible to use event-driven today already and this suggested
addition will only make it better on handling many channels.
-- / daniel.haxx.se _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2010-06-03