lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] howto put tcp packet together


From: Kieran Mansley
Subject: Re: [lwip-users] howto put tcp packet together
Date: Thu, 30 Apr 2009 08:56:45 +0100

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.

Kieran





reply via email to

[Prev in Thread] Current Thread [Next in Thread]