OMNeT++ Trace-Based Data Traffic Application extends the INET's UdpBasicApp
by using a trace file to trigger the packet transmission. The file is a plain text file, where every line describes the trigger time of one packet, e.g.,
- t1
- t2
- ...
- tlast
The UdpTraceBasedApp
application send the first packet at t1 and the last packet at tlast.
- Please download inet-4.2.5 for OMNeT++ 5.6.2 and import it into the simulator.
- Please clone this repo
UdpTraceBasedApp
and import it into OMNet++. To build it you need to do the following steps:inet
must be set as a project reference. This is done by right-clicking on theUdpTraceBasedApp
project in the Project Explorer and navigate toProperties-> Project References -> Select inet -> Apply and Close
- Ensure the build modes of this project and
inet
are identical (bothrelease
or bothdebug
): This is done by right-clicking on each project in the Project Explorer and navigating toBuild Configuration -> Set Active -> <mode>
- The
include paths
from INET must be added to this project such that you can write classes in your project which inheritinet
classes. For that, you need to right-click on theUdpTraceBasedApp
in the Project Explorer and navigate toProperties -> OMNeT++ -> Makemake
, select thesrc
folder in the list and then click "Options" in the right panel. - Go to the
Target
tab and make sure thatShared library ...
is checked. - Now go to the
Compile
tab and make sure all checkboxes are checked. - Move to the
Link
tab and make sure that theLink with libraries exported from...
checkbox is checked. - Finally,
Apply and Close
and you should be able tobuild
theUdpTraceBasedApp
project without errors as a project that reference the INET project.