[Ns-bugs] [Bug 271] PacketSocketFactory should be added in the Node base class, not in InternetStackHelper

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Tue Aug 5 09:23:08 PDT 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=271





------- Comment #1 from mathieu.lacage at sophia.inria.fr  2008-08-05 12:23 -------
PacketSocketFactory is added in PacketSocketHelper if you want to only packet
sockets on your node. The reason it is also added to a node from
InternetStackHelper is that we wanted to make InternetStackHelper add all the
things it could by default.

If you want to add a flag to InternetStackHelper to disable this feature, I
would be fine with that. Removing it altogether would be much less desirable
because if a user relies on InternetStackHelper to add it, he will figure out
that it is not there anymore only at runtime with a less-than-helpful message.

Updating the InternetStackHelper::Install method documentation to describe that
the PacketSocket is also aggregated would also be nice.


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