View Full Version : GetPacketNumber usage
Joshua Lynn
10-02-2006, 08:02
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
11-02-2006, 09:10
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-2017, Jelsoft Enterprises Ltd.