sendto adds a header to the pbuf you allocated and calls the send
function on your driver, so, basically, if you don't have an RTOS or
some esoteric magic around, I don't see how can you be running out of
memory unless your driver or other application is also using it and you
don't free it.
Could you describe your scenario so we can make an educated guess ?
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users