Bugzilla – Bug 1063
all applications depend on internet module
Last modified: 2015-11-05 15:25:35 UTC
All of our applications (e.g. traffic generators) depend on Internet sockets to some degree. For example, OnOffApplication defaults to a UDP socket type. As a result, other ns-3 modules that just need traffic generators and sinks (and who would be happy to use packet sockets or other means) need to indirectly pull in the internet module. For example, spectrum module. It would be useful to create at least a basic packet-socket-oriented application and sink that could be used for generating traffic in modules that do not need to depend on internet otherwise.
One way to perhaps approach this is to create a 'traffic' module that only depends on 'network' module. We could leave 'applications' modules alone (i.e. keep them internet-oriented).
this was solved with the packet socket application in src/network/utils a while back