Hi, I am not that familiar with libssh2, but is there a fd associated with every channel? Or is there a mutex/cond which are doing the signalling data is available? Only then you can do a per channel waiting/handling for io.
Stef _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel