Hello ! I hope you will remember the discussion we had on this topic.
I realized that I will not really be able to use the stdout of the executed command on the remote server because it is being mostly used by the app itself to communicate. So I'm wondering if there's a way to read stderr or the best would be if i could find another way to send some messages back to to the client through the ssh connection ? . Any suggestions ? Thanks ! On Mon, Nov 16, 2009 at 8:54 PM, Neil Gierman <[email protected]> wrote: > And this one is just threads and libssh2: > > "A thread that loops on reading a non-blocking socket and updating > your UI is also fine." > > Which one would you prefer ? I'm more bent on the second one since i never > used select() before. > > Thanks ! > > Alian > > > I use a non-blocking socket and updating the UI (in my case a log file) > with > the output from the SSH exec command. Very simple and never had any issues > with overhead. > > Neil > > _______________________________________________ > libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel >
_______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
