On Thu, 11 Aug 2011, Przemysław Szczygielski wrote:
OK, after calling block_directions before return 0 (just to test) it returns
LIBSSH2_SESSION_BLOCK_INBOUND. So this means I should wait for data
available on this channel?
Yes. And since you can only do that on a socket-basis you should wait for
readable data on the socket and then call the libssh2 function again.
--
/ daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel