This month's Index
Subject: Re: Callback for channel data ready
Re: Callback for channel data ready
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 16 Mar 2012 13:36:02 +0100 (CET)
On Fri, 16 Mar 2012, Tom Weber wrote:
> But how is that "mode" going to be set? Perhaps in the same manner as
I was thinking that there mere use of the "atomic read" function would be
> Speaking of blocking/nonblocking, the API confuses me when it comes to
See libssh2_session_block_directions() and you need to care if you want to
> 2) Do I have to make the same call again until the operation is complete?
> 3) If yes, do I have to pass in the same arguments?
> 4) If yes, what happens if I pass in other arguments?
It might cause failure.
> 5) If yes, what happens if I start some other operation before this one is
It might cause confusion and badness.
> I think that either the documentation should be clear in this regard (there
Please give us your suggestions!
> a clearer asynchronous API should be implemented, and a synchronous one
We've discussed something like that but nobody has yet volunteered to do the
-- / daniel.haxx.se _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2012-03-16