View Full Version : GetPacketNumber usage
Joshua Lynn
02-10-2006, 08:02 AM
Can it be determined that there is fresh data from the OI By detecting a change in the Packet Number?
The goal is to perform some actions only once when new data arrives.
tnx
BradAMiller
02-11-2006, 09:10 AM
Can it be determined that there is fresh data from the OI By detecting a change in the Packet Number?
The goal is to perform some actions only once when new data arrives.
tnx
Yes, I didn't think it was necessary at first, but ended up adding it later for exactly that reason. The number is just a byte so it wraps around, so just look for changes to know if a new packet is there.
vBulletin® v3.6.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.