You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the code as-is. The stream should be disposed of after the using block processes. I tried adding Flush and Close after the write but it didn't solve the problem.
Hi, I am trying to use this stream example:
However, I am having issues with it. Frequently, the data doesn't reach the client. So, instead of "Hello World!" the result is empty.
I am trying to use it to write several lines of input via SSH. My client is already connected before I call this.
I tried forcing
inputStream.Flush()
but it doesn't work reliably and might not make any difference.How can I fix this? Is there another approach to consider?
The text was updated successfully, but these errors were encountered: