Subject: Re: How to get about command execution finished on remote side

Re: How to get about command execution finished on remote side

From: Peter Stuge <peter_at_stuge.se>
Date: Sun, 15 Jan 2012 21:23:31 +0100

Ivan Tretyakov wrote:
> How should I know that execution of the current command is finished
> on remote side and I can use lbssh2_channel_read to read it?

You don't know. SSH channels are full duplex, not half duplex. You
must deal with that in your application, if the particular channel
you are working with does not by policy use only half duplex.

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-01-15