How to return data line by line (wodSSH / wodSSH.NET)
Hi Ernesto.
When to break out of loop depends on you. You should check if State == Connected - to make sure connection didn't drop while waiting for data to arrive. Besides that, get out of loop when you're personally ready, when you have received data you have expected.
Jasmine.