Paulo Caetano wrote: > AFAICT, blocking is still off, so shutdown should be like this: > --- > shutdown: > > while (libssh2_session_disconnect(session, "Normal Shutdown, Thank > you for playing") == LIBSSH2_ERROR_EAGAIN)
Don't reinvent the whell. This example and all others should just switch the session back to blocking mode if blocking behavior is desired, which I guess is the case since it is what is implemented above. //Peter _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel