On Thu, 2009-04-30 at 08:54 +0200, Bernhard 'Gustl' Bauer wrote:
A wireshark file is attached. My lwip does only get callbacks for
packets no. 4, 13, 24, 35, ... Packets no. 14, 25, 36, ... don't
generate any callbacks. How can I get the data in these packets? Btw
pcb->next and pbuf->next are always 0!
That sounds very peculiar. All the received data should be indicated to
the application.
TCP says the network packets may be out of order. There is a sequence
number to sort them. Does LWIP take care of this?
Yes. The whole of TCP is dealt with by lwIP. You'll just get a stream
of bytes that is already in the correct order without any network
headers delivered to the application in arbitrary chunks.