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?
_______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel