Subject: Re: multiple exec

Re: multiple exec

From: A. Mark <gougolith_at_gmail.com>
Date: Thu, 21 Jan 2010 15:11:23 -0800

Ok, so I will have to use more than one channel on the non-blocking session
to have multiple exec.

Do I need to have a separate waitsocket for each channel , I assume the
answer is yes ?

On Thu, Jan 21, 2010 at 2:39 PM, Peter Stuge <peter_at_stuge.se> wrote:

> A. Mark wrote:
> > Can I create multiple channels blocking and non-blocking together
> > on the same connection ?
>
> Blockingness is set per session = per connection. The way the library
> works internally forces you to use non-blocking IO if there is more
> than one channel open.
>
>
> //Peter
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-01-22