On Tue, 8 Mar 2011, Phillip Wu wrote:
> /* non blocking */
> status=ioctlsocket (sock, FIONBIO, &mode);
I advice against changing the mode of the socket "behind libssh2's back". The
way to change the mode of the API is like this:
http://www.libssh2.org/libssh2_session_set_blocking.html
> ps. I did try to turn on debugging:
> ./configure -enable_debugging
> and make a call to libssh2_trace(session,~0);
> but nothing came out on stderr
"./configure --help" is your friend, it lists all options. It says:
--enable-debug Enable pedantic and debug options
-- / daniel.haxx.se _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2011-03-08