Bug 1063 - all applications depend on internet module
all applications depend on internet module
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: applications
pre-release
All All
: P5 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-25 18:22 UTC by Tom Henderson
Modified: 2015-11-05 15:25 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Henderson 2011-02-25 18:22:05 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.
Comment 1 Tom Henderson 2011-02-25 18:24:50 UTC
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).
Comment 2 Tom Henderson 2015-11-05 15:25:35 UTC
this was solved with the packet socket application in src/network/utils a while back