How to return data line by line (wodSSH / wodSSH.NET)
Hi Ernesto.
You should make a choice to use events or use Blocking = True mode, don't use both.
If you use events, then DataReceived event will fire when there's new data arrived, which you can consume. Since you're using Blocking = False in that case, ReceiveLine will also return immediately even if no data is waiting, so this is what you need.
If you use Blocking = True, don't use events, but use ReceiveLine in some loop.
Which option suits you better?
Jasmine.
Complete thread:
- How to return data line by line - Ernesto Cullen, 2014-11-19, 12:26
- How to return data line by line - Jasmine, 2014-11-19, 13:48
- How to return data line by line - Ernesto Cullen, 2014-11-19, 14:39
- How to return data line by line - Jasmine, 2014-11-19, 15:12
- How to return data line by line - Ernesto Cullen, 2014-11-19, 19:04
- How to return data line by line - Jasmine, 2014-11-19, 19:26
- How to return data line by line - Ernesto Cullen, 2014-11-19, 19:36
- How to return data line by line - Jasmine, 2014-11-19, 21:29
- How to return data line by line - Ernesto Cullen, 2014-11-19, 19:36
- How to return data line by line - Jasmine, 2014-11-19, 19:26
- How to return data line by line - Ernesto Cullen, 2014-11-19, 19:04
- How to return data line by line - Jasmine, 2014-11-19, 15:12
- How to return data line by line - Ernesto Cullen, 2014-11-19, 14:39
- How to return data line by line - Jasmine, 2014-11-19, 13:48