Hi, In TCP there should not be such an issue. Packets will be received in the order they were sent.
TCP is a stream. BR, Noam. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Richner Simon Sent: Tuesday, September 09, 2014 3:30 PM To: Mailing list for lwIP users Subject: [lwip-users] packet order with tcp_recv Hi all, I have a basic question about tcp_recv: Let's say I have some MBs of data I send to the lwip stack. If (for whatever reason) tcp packets arrive out of order, will the stack sort this out for me and call the tcp_recv callback with packets sorted in correct order? Or do I have to check the sequence number myself to make sure I put data back together in correct order? Thanks for your help Simon _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users ************************************************************************ ************ This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses. ************************************************************************ ************ ************************************************************************************ This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses. ************************************************************************************ _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
