On Wed, 22 Apr 2009, double wrote:

>> No, libssh2_poll_channel_read() or libssh2_poll() won't save you and 
>> they're both also defective and deemed deprecated.
>
> There are only problems with reading from libssh2. Would it be a solution to 
> call "select()" to the libssh2-socket before calling 
> "libssh2_channel_read()"?

Yes, but only if you use libssh2 non-blocking. Which is one of the 
alternatives I mentioned...

-- 

  / daniel.haxx.se

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to