Subject: Re: Callback for channel data ready

Re: Callback for channel data ready

From: Peter Stuge <peter_at_stuge.se>
Date: Thu, 15 Mar 2012 10:13:02 +0100

Tom Weber wrote:
> What if libssh2_channel_read_ex() reads data from the socket, which
> turns out to be data for another channel which has already been
> checked?

Keep looping over all channels until none return data.

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