On Fri, 2012-05-11 at 14:11 -0400, Andrew Xiang wrote:
> I use the RAW API.

There's a macro tcp_sndbuf(pcb) that you can use to find out the current
fill level of the queue.  You may also need to pay attention to
tcp_sndqueuelen(pcb) which is used to prevent lots of small packets
using up lots of resources and so can prevent a tcp_write() from
succeeding.  Have a look in the source at how these two are used to give
an idea of the tests you need to make.

Kieran


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

Reply via email to