View Single Post
  #3  
Old 03-04-2005, 06:56 AM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

Hey wiz,

in this code:
Code:
			if (GetState() == EQNC_Active && pack->dwARQ == arsp_response + 10) //This code checks if 10 packets have been sent since last ARSP ("we got this packet yo") response from client, and if so, tags those ten packets that haven't been verifiably recieved for a resend. Should probably be condensed into a function for cleanliness :P
			{
				LinkedListIterator<EQNetworkPacket*> iterator2(SendQueue);
				iterator2.Reset();
				while (iterator2.MoreElements())
				{
					EQNetworkPacket* pack2 = iterator2.GetData();
					if (pack2->dwARQ == pack->dwARQ)
						break;
					iterator2.Advance();
				}
			}
I imagine that you wanted to set SentCount to 0 so it would be resent.. but you dont, so I imagine packets will never get resent. In fact, this loop does nothing at all.
Reply With Quote