lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] UDP Raw receive / pbuf_free?


From: Sergio R. Caprile
Subject: Re: [lwip-users] UDP Raw receive / pbuf_free?
Date: Fri, 18 Jul 2014 09:36:41 -0300
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Hi Friedrico,
I see you call udp_connect lots of times (once every new incoming
packet), without actually calling udp_disconnect(). I don't know if this
causes trouble, or the function will just return an error condition.
BUT, in such a case that this function is returning != ERR_OK, you will
exit without deallocating the pbuf and that will do put you in trouble.




reply via email to

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