On Sun, 18 Feb 2007, Narcis wrote:
> Hi,
>
> i have an intresting problem where the read and draw are beeing
> performed in seperate threads, i end up having updated my own
> position, but not yet that of the other ships, as a result, on the
> next update the ships "leap" ahead to the new posion. Avoiding this
> problem requires the client to know when the server has completed
> it's transmission of the update.

If you are using UDP, all the data should arrive together in one packet.

With TCP, you can probably get the same effect if you just read all the
data in the receive buffer.