TCP Reassembly


I am writing a TCP application analyzer and depend on packet order to build a full PDU over many TCP packets. Occasionally I will receive a packet out of order in my analyzer’s DeliverStream function.

Is there a way to assure I am getting packets in order? Or, any advice on debugging the reassembly?

Thank you,