Re: [Opentnl-general] Two issues related with GhostConnection.
Brought to you by:
mark_frohnmayer,
s_alanet
From: Mark F. <ma...@ga...> - 2004-05-27 17:24:35
|
> GhostConnection::setGhostFrom initializes mGhostZeroUpdateIndex, but > this only happens if that side of the connection is sending ghost > updates. So your analysis was correct - the client is never sending > packets back to the server since has an empty event queue and the > ghostZeroUpdateIndex is 0. The solution that I will implement is to > have the NetConnection also send packets - Ack packets, if it has > received packets that it has not sent acknowledgements for. This will > not advance the window on the clients, since Ack packets don't use a > new sequence number, but it will allow the server to send new > packets. This should not be a part of isDataToTransmit, however, > since that would create a new data packet - which would need to be > ack'd by the server. > > - Mark > Ok, I checked in the fix for this. There were actually two bugs - one was the window filling bug, and one was an unsigned integer underflow comparison issue. Both have been fixed. - Mark |