[Ns-bugs] [Bug 154] Attach sockets to nodes
bugzilla-daemon@nsnam-www.ece.gatech.edu
bugzilla-daemon at nsnam-www.ece.gatech.edu
Thu Mar 27 11:38:27 PDT 2008
http://www.nsnam.org/bugzilla/show_bug.cgi?id=154
------- Comment #5 from tomh at tomh.org 2008-03-27 14:38 -------
I agree that it is not really intuitive the way the code now works, as
exemplified by this test case. I as a user would expect that if I used a
socket and passed data to it, I could delete my local reference to the socket
afterwards, just as I could lose reference to the descriptor in real code
without destroying the underlying packet.
I would suggest trying to fix this somehow such that the provided test case
works; not by suggesting that users subclass from Application, because
otherwise it is bound to reoccur since I have now seen three ns-3 users write
code like this that avoids the use of base class Application.
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Ns-bugs
mailing list