12.07.2015 Views

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

value of opt(pre-stop) is usually the time simul<strong>at</strong>ion stops when all st<strong>at</strong>istical d<strong>at</strong>a is dumpThis comm<strong>and</strong> allows dumping of st<strong>at</strong>istical d<strong>at</strong>a into an output file after running a diffusio<strong>ns</strong>et src [new Applic<strong>at</strong>ion/DiffApp/PingSender]This comm<strong>and</strong> is used to cre<strong>at</strong>e ping-sender applic<strong>at</strong>ion.set snk [new Applic<strong>at</strong>ion/DiffApp/PingReceiver]This comm<strong>and</strong> is used to cre<strong>at</strong>e ping-receiver applic<strong>at</strong>ion.set src [new Applic<strong>at</strong>ion/DiffApp/PushSender]This comm<strong>and</strong> is used to cre<strong>at</strong>e push-sender applic<strong>at</strong>ion.set snk [new Applic<strong>at</strong>ion/DiffApp/PushReceiver]This comm<strong>and</strong> is used to cre<strong>at</strong>e push-receiver applic<strong>at</strong>ion.set src [new Applic<strong>at</strong>ion/DiffApp/GearSenderApp]This comm<strong>and</strong> is used to cre<strong>at</strong>e gear-sender applic<strong>at</strong>ion.set snk [new Applic<strong>at</strong>ion/DiffApp/GearReceiverApp]This comm<strong>and</strong> is used to cre<strong>at</strong>e gear-receiver applic<strong>at</strong>ion.$gearApp push-pull-optio<strong>ns</strong> This comm<strong>and</strong> defines the type of routing algorithm gear is using. Incase the second option is defined as region, allfour co-ordin<strong>at</strong>es should be defined. While if point is chosen, only X1 <strong>and</strong> Y1 maybe defined.$<strong>ns</strong>_ <strong>at</strong>tach-diffapp $node_ $src_where the diffusion applic<strong>at</strong>ion $src_ gets <strong>at</strong>tached to the given $node_.$src_(0) publishComm<strong>and</strong> to start a ping source (sender).$snk_(0) subscribeComm<strong>and</strong> to start a ping sink (receiver).200

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!