When I've done this in the past, I have my servers response to a client begin with a preamble that includes the length, in bytes, of the response as a whole. Then all the client has to do is keep a running total of the number of bytes that have come in on the socket. HTTP does the same thing with the Content-Length header.
HTH
In reply to Re: maybe OT, connection speed
by CubicSpline
in thread maybe OT, connection speed
by pitbull3000
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |