Hello Sir/madam,
I am writing a multi threaded application which connects to multiple hosts and
executes multiple commands on remote hosts and returns the result using libssh2
version 1.6.00.
I am getting LIBSSH2_ERROR_SOCKET_RECV in libssh2_channel_read if i add any
host which exists but donot have sshd running on it. The error is observed when
main thread is attempting to connect the host host which exists but donot have
sshd running (I will call this as a bad host). Though not everytime this is
seen. Also if i go ahead and reattempt the libssh2_channel_read the same seems
to be working perfectly fine.
Now if is remove the bad host from host list, everything seems to be working
perfectly fine.
Can you please help me identify what could be the reason for
libssh2_channel_readto return LIBSSH2_ERROR_SOCKET_RECV.
Appreciate you time and feedback on this.
Thanks & Regards,
MINAL PATIL
Pune | Mobile : +91 7350014029 | Mail : minalkpat...@yahoo.com
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel