Bug 1063

Summary: all applications depend on internet module
Product: ns-3 Reporter: Tom Henderson <tomh>
Component: applicationsAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P5    
Version: pre-release   
Hardware: All   
OS: All   

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