Subject: libssh2_poll_channel_read() is deprecated?

libssh2_poll_channel_read() is deprecated?

From: Ishaan Gulrajani <>
Date: Mon, 17 May 2010 00:02:03 -0400

Hi everyone,

I'm building an SSH client and am trying to get data from the read buffer. I
was originally going to do something like this:

while(libssh2_poll_channel_read(my_channel)) {
  // read some more data to stdout

... but the documentation here:

... says that this function is deprecated. Is there any replacement? How
should I go about getting the data from the read buffer?


Received on 2010-05-17