AHAHA... Simon, Thanks a lot.
Now the http req & reply are all worked correctly. That's wondfull, thanks! :)
在2008-08-25,"Simon Goldschmidt" <[EMAIL PROTECTED]> 写道:
>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
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users