Hi all,

Working on a small SFTP client, I am running into the situation where
libssh2_session_block_directions returns zero. According to the
documentation[0], libssh2_session_block_directions returns a bitmask
of LIBSSH2_SESSION_BLOCK_INBOUND and LIBSSH2_SESSION_BLOCK_OUTBOUND
and tells us what to do in case either or both of these are set. What
is the right thing to do in case neither is set, or am I doing
something wrong and this function should never return zero?

Thanks in advance,

Jente

[0] https://www.libssh2.org/libssh2_session_block_directions.html
-- 
libssh2-devel mailing list
libssh2-devel@lists.haxx.se
https://lists.haxx.se/listinfo/libssh2-devel

Reply via email to