Quote from: l)ragon on December 08, 2006, 06:34 PMQuote from: Ersan on December 08, 2006, 03:39 AMSplitting by 0xFF is not a good idea, you should be processing via the packet length.
Split clumped packets by 0xFF, or use an efficient debuffer.
i was trying to parse using packet length, but there is "rubbish" data following some but not all packets, which presents a problem when some packets are joined together with "rubbish" data in between them.