I caugth included example WinFormRExec, and started two threads, calling each thread to
private void SendCommand()
{
code on included example....
}
Seems that both threads are executed and that both sessions are started, i´m sending on each thread a long runing task (a ssh cpmmand that needs some minutes). I´m using:
while (shell.IsRunning == true) {
string line = shell.ReadLine();
DoUpdate(line); //DoUpdate is a delegate to update the GUI
}
But i only receive data in real time from one thread, the other thread send all data when second thread finished. Not sure if i´m missing soemthing or if isn´t possible start two simulatenous ssh conections to same serve.
Thanks in advance for your time and help.