Author | Message | Time |
---|---|---|
Slippin | Short and Simple. I have an index'd Winsock, Eveything works fine, Logs on bnet, bla bla bla. But for some reason, I sometimes Get The same packet twice... Any reason for this? | June 6, 2006, 2:18 AM |
FrostWraith | Is this verified if you don't attempt to parse the packets, just display? | June 6, 2006, 2:53 AM |
Slippin | Well I do Both, For example, I get the packet that tells you your "True" Username the one that tells you #2 bla bla, I get that packet 3 times or more each Connection. | June 6, 2006, 6:12 AM |
HdxBmx27 | Post a log. Use Etherial/WPE ~-~(HDX)~-~ | June 6, 2006, 6:22 AM |
Ringo | Remove the packet from your buffer into a string. Cut the packet out from the buffer Parse the packet you stored in the string. That way, when the program is still parseing the data, a fresh DataArrival event wont trigger the same packet to be pushed into the parser, because it was cut out before you started to parse the current, so it will just trigger the next packet to be parsed | June 6, 2006, 9:41 AM |
l2k-Shadow | Seems like you are stacking packets from all winsocks into 1 buffer, use a seperate buffer for each connection. | June 11, 2006, 8:30 PM |