|
From: | address@hidden |
Subject: | Re: [lwip-users] How to find out if I can send out more UDP packets? |
Date: | Thu, 1 Jun 2017 21:34:14 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
Xun Chen wrote:
Maybe I should track down the return from pbuf_alloc to confirm that I indeed have a valid buffer
Yes, that would indeed be a *very* good idea!Given the question in the subject: you'll just have to try again. Unfortunately, there's currently no way of registering a callback or something that (asynchronously) tells you when there's enough memory available.
Simon
[Prev in Thread] | Current Thread | [Next in Thread] |