Nssim is a project mainly written in C++ and SHELL, based on the GPL-2.0 license.
NS3 simulator frontend for PlayerNSD
This is a simple example for use with PlayerNSD to use ns3 as the backend for simulation.
Instructions on how to build NS3 from the mercurial tip are available here.
A quick start for those on Linux systems,
$ cd $BUILDDIR
$ hg clone http://code.nsnam.org/ns-3-allinone
$ cd ns-3-allinone
$ python download.py -n ns-3-dev
$ python build.py --enable-examples
$ cd ns-3-dev
$ ./waf install --prefix=$INSTALLPATH --destdir=$INSTALLPATH
This assumes $BUILDDIR
and $INSTALLPATH
are defined as being the build
directory and the target install directory respectively.
$ cd nssim
$ mkdir -p build
$ cd build
$ cmake ..
$ make
This generates a wifisim executable that can be run through playernsd
Assuming you are the playernsd directory $ ./playernsd pathto/nssim/build/wifisim
This will pass all messages through the wifisim executable.