[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Data passed to UDP receive callback
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] Data passed to UDP receive callback |
Date: |
Mon, 10 Aug 2009 12:50:09 +0200 |
> If that's the case, then I think your fix of copying the address out of
> the received pbuf is the right thing to do. The only alternative would
> be for lwIP to do this operation all the time, when usually it would not
> be necessary.
Well, I do think that would be the right thing to do all the time since there
is an implicit connection between the pbuf and the address, which is documented
nowhere. After all, it's only 4 bytes to be copied on the stack...
Simon
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser