Change Buffer
C#
1
Posts
1
Posters
0
Views
1
Watching
-
In C#, how to change/increase the size for a byte array buffer to be sent over a tcp stream? on the server side, i have something like this:
while(i != 100) { streamWriter.writeline("data"); }
Now, on the client side, i saved every data sent to me. However, only half or so of the data is being sent, the last line in my data.txt file says "unable to read data from the transport connection". And i think it has something to do with the buffer size. So i need to increase it... THanks for the help.:)