Hi,
I have a question about libssh2_init() function. I am using libssh2 library in a multi-thread application. There are several threads that use sftp and ssh functions to communicated with a remote server. My question is - Do I call "rc = libssh2_init (0);" within each thread that would be performing either read/write via sftp or execute a command on remote server via ssh? Or should there be a master thread which would call "rc = libssh2_init (0);" to initialize crypto library in a global context for the entire application? Please let me know. Thank you, Vishal Sharma
_______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
