[Ns-bugs] [Bug 231] SocketAddressTag needs to be removed from a packet before forwarding the packet to the user
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Thu Feb 23 04:13:08 PST 2012
https://www.nsnam.org/bugzilla/show_bug.cgi?id=231
--- Comment #14 from Nicola Baldo <nbaldo at cttc.es> 2012-02-23 07:12:57 EST ---
Created attachment 1337
--> https://www.nsnam.org/bugzilla/attachment.cgi?id=1337
alternative patch without using SocketAddressTag
I think the proposed patch is not 100% satisfactory because, in the case that
the application uses the RecvCallback instead of calling UdpSocketImpl::Recv(),
the SocketAddressTag would still be left there.
Additionally, I think the use of SocketAddressTag in this case is not necessary
and could easily be avoided. Please find attached an alternative patch that
does this.
--
Configure bugmail: https://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Ns-bugs
mailing list