[ ... ] > > lengthType = llc.GetSerializedSize () + p->GetSize (); > > The llc header has already been added to the packet here, so its > size is already accounted for by p->GetSize(), no? Sigh, yes, thanks. Fixed. Trying to do too much at one time ... -- C