Re: Buffer Size Command Hanging - WeOnlyDo Discussion board

Re: Buffer Size Command Hanging (General questions)

by mmorton, Wednesday, July 08, 2009, 14:57 (5378 days ago) @ wodSupport

I have managed to write some code based on what you suggested and it works.

[code]
sshConnection.Blocking = False
sshConnection.Send( show * /identifier & vbCrLf)
Dim data_retrieved As New System.Text.StringBuilder
Do
data_retrieved.Append(sshConnection.Receive().Replace( , ))
Loop While Not data_retrieved.ToString.EndsWith( UAF> )
[/code]


Complete thread: