Have you read Kieran's answer? I think it sounded quite reasonable.

Simon


Gary Bingham <[email protected]> wrote:

> Hello LwIP users' forum, 
> 
> I am using LwIP 1.3.0 on Altium's NanoBoard3000. This is an FPGA SoC 
> development board for those who are unfamiliar with the name. Anyway, I am 
> sending UDP packets from a PC to the nanoboard and the nanoboard side 
> application works just fine for MEMP_NUM_NETBUF - 1 packets. The data is 
> received and the application program acts on the data until MEMP_NUM_NETBUF - 
> 1 packets have been received. At this time the next call to netbuf_recv never 
> returns. I call netbuf_new at the beginning of the loop and netbuf_delete at 
> the end of the loop. If I understand the API reference correctly this should 
> fulfill the requirement of deleting the netbuf after use. Even after my code 
> seems to hang, I'm able to successfully ping the nanoboard from a console on 
> the PC. Have I missed anything here? Is there a known bug with netbuf_delete 
> at this revision? If anyone here can be of assistance, I will be greatly 
> appreciative. 
> 
> Cheers, 
> 
> farpart103 
> 
> P.S.  the code in question is available on request.
> _______________________________________________
> lwip-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/lwip-users

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to