[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Non-Blocking Mode
[Thread Prev] | [Thread Next]
- Subject: Re: Non-Blocking Mode
- From: Dustin Oprea <myselfasunder@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Mon, 9 Sep 2013 11:07:19 -0400
- To: libssh <libssh@xxxxxxxxxx>
Now, what's the difference in calling ssh_set_blocking(0) before ssh_channel_read(), and just calling ssh_channel_read_nonblocking()? Dustin On Sep 9, 2013 10:45 AM, "Andreas Schneider" <asn@xxxxxxxxxxxxxx> wrote: > On Friday 06 September 2013 20:39:01 Dustin Oprea wrote: > > The ssh_set_blocking() call currently has the following disclaiming in > the > > "master" documentation: > > > > nonblocking code is in development and won't work as expected > > > > > > This surprised me. Since there are dozens of functions that support > > non-blocking mode (by returning SSH_AGAIN when necessary), I thought > > non-blocking mode would've been an established feature. > > Thanks for the hint. Yes, with libssh 0.6.0 this should be fully > functional. > I've removed the comment. > > > -- andreas > > > -- > Andreas Schneider GPG-ID: F33E3FC6 > www.cryptomilk.org asn@xxxxxxxxxxxxxx > > >
Re: Non-Blocking Mode | Aris Adamantiadis <aris@xxxxxxxxxxxx> |
Non-Blocking Mode | Dustin Oprea <myselfasunder@xxxxxxxxx> |
Re: Non-Blocking Mode | Andreas Schneider <asn@xxxxxxxxxxxxxx> |