[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
Wed Feb 29 18:45:07 PST 2012


https://www.nsnam.org/bugzilla/show_bug.cgi?id=231

--- Comment #15 from Tom Henderson <tomh at tomh.org> 2012-02-29 21:45:06 EST ---
(In reply to comment #14)
> Created attachment 1337 [details]
> 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.

I like your patch better.  If no other comments, I propose to patch it like you
suggest.

-- 
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