Subject: What purpose does libssh2_poll() fill?

What purpose does libssh2_poll() fill?

From: Daniel Stenberg <>
Date: Sun, 5 Apr 2009 20:22:32 +0200 (CEST)

As I just wrote in bug report #2141548:

libssh2_poll() seems to be fundamentally flawed.

I suggest we just call it deprecated and tell people to use poll() instead!

Can you (or anyone else) provide a use case where the normal poll() or
select() isn't good enough or better?

libssh2_poll_channel_read() is another function I don't understand why we
provide in the API...

libssh2-devel mailing list
Received on 2009-04-05