Daniel Stenberg wrote: >> So we would have to run a libssh2_channel_window_read_ex() loop after each >> libssh2_channel_read_ex() loop, and repeat both loops until >> libssh2_channel_window_read_ex() returns zero for all channels. > > I would do it simpler.
See also example/direct_tcpip.c and tcpip-forward.c which I believe are reliable. Although they only open one channel each. Suggest play with them to add a second channel. //Peter _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel