|
From: | Xun Chen |
Subject: | [lwip-users] How to find out if I can send out more UDP packets? |
Date: | Thu, 11 May 2017 14:34:46 -0400 |
User-agent: | Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
Hi there,I use udp_sendto to output packets, if I space them in time to make sure the packets are sent, everything is fine, but if I call udp_sendto too frequently, I will run into error code -1, out of memory.
Which lwip raw API can I call to find out if I have the resource before I construct the UDP payload?
Thanks! XC
[Prev in Thread] | Current Thread | [Next in Thread] |