Question on how to Clear buffer using WodSSH (wodSSH / wodSSH.NET)
I had a question regarding how to clear the receive buffer using WodSSH.
Currently have a VB6 program sending UNIX commands to a server. For some reason, when I send commands (via the Execute method) that result in a very large amount of data being returned, I run into a problem. I have data in the receive buffer from my previous command still remaining after I issue my next command. I wanted to know the best way to clear the receive buffer after I issue each command. The command I currently am sending is:
[code]sbuffer = mssh.Execute(sMessageTemp, sprompt, 120)[/code]
Thanks for your help