lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] udp


From: Leon Woestenberg
Subject: Re: [lwip-users] udp
Date: Sun, 16 Mar 2003 11:34:46 +0100

Hello David,

> default to this kind of operation. After all, how do you know when you
> can free the application buffer? Especially if your packet winds up on
> the ARP queue.
>
The ARP queue will increase the pbuf reference counter for you, and decrease
it once the packet is sent. (thereby effectively free'ing it if it reaches
0).

So, you can safely free the pbuf after sending it.

Regards,

Leon.





reply via email to

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