J
Joe Wright
Hello,
I've been having trouble receiving data from a tcpclient. My problem is that
unlike all of the samples found on the internet i'm sending files instead of
just strings. I've noticed that I need to handle my buffer being filled
multiple times if the data is longer than the buffer size and also that if
the data is sent too fast to the server then it seems that my buffer can
contain the last part of my first batch of data and the beginning of
another. Does anyone have a sub you use to parse the bytes? Also, what is a
good way to end a message that I can check for. Any help would be
appreciated.
I've been having trouble receiving data from a tcpclient. My problem is that
unlike all of the samples found on the internet i'm sending files instead of
just strings. I've noticed that I need to handle my buffer being filled
multiple times if the data is longer than the buffer size and also that if
the data is sent too fast to the server then it seems that my buffer can
contain the last part of my first batch of data and the beginning of
another. Does anyone have a sub you use to parse the bytes? Also, what is a
good way to end a message that I can check for. Any help would be
appreciated.