Hi,I'm still new to LwIP and while trying to make the basic webserver working, 
I happenned to use an example that did not incoroporate any pbuf_chain / 
pbuf_dechain.Now that it works and that I explored a little bit more thoroughly 
LwIP, I noticed their use in the basic echo server provided by Xilinx for EDK 
for the Virtex II Pro PowerPC.I'm about to change my code accordingly on the 
template of the echo server that I could not make work before, still pbuf_chain 
pbuf_dechain are usefull when it is useful whenyou receive a packet you chain 
it to treat it and dechain it when invoking the tcp_write function.But what 
about a large file stored in the Virtex II external memory? Do we have to chunk 
it so that we put payload equivalent in each pbuf and then chains them? Or is 
therea function already doing so?Because we tried to send lots of data using 
tcp_write by sending characters and the maximum we could do was around 7000, 
then the server crashes.I've also heard about tcp_output, what is it 
exactly?Thanks for you answers,Antoine.
_________________________________________________________________
David Guetta a réuni les sons les plus connus de Messenger dans le Mix 
Messenger, le son de l’été ! Téléchargez-le gratuitement !
http://specials.divertissements.fr.msn.com/mixmessenger
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to