lwip-users
[Top][All Lists]
Advanced

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

Re:Re: [lwip-users] help -- the http reply is divided into 2 frames.


From: yihect
Subject: Re:Re: [lwip-users] help -- the http reply is divided into 2 frames.
Date: Tue, 26 Aug 2008 13:27:53 +0800 (CST)

 AHAHA... Simon, Thanks a lot.
 Now the http req & reply are all worked correctly.  That's wondfull, thanks! :)
 
 
 


 

在2008-08-25,"Simon Goldschmidt" <address@hidden> 写道:
>To me this seems like you send every single pbuf as one ethernet frame. LwIP can combine multiple pbufs to one ethernet frame, which is done for many tcp packets: the first pbuf contains all the headers, the second pbuf contains the 'user data' (in your case the HTML page). Your driver should send pbuf queues in one frame; the end of a pbuf queue can be determined like shown in pbuf.c/.h: the last pbuf of a frame has p->len == p->tot_len (NOT p->next == NULL, as there can also be multiple frames in a pbuf queue!)
>
>Hope that helps.
>Simon.
>
>-------- Original-Nachricht --------
>> Datum: Mon, 25 Aug 2008 19:11:16 +0800 (CST)
>> Von: yihect 

reply via email to

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