[ns] How to introduce an error model between two mobile nodes

2011-03-10 Thread Anuradha Jain
I tried something like this, but it gives me an error. set em [new ErrorModel] $em set enable_ 1 $em unit pkt $em set bandwidth_ 5M $em ranvar [new RandomVariable/Uniform] $em drop-target [new Agent/Null] $ns link-lossmodel $em $node_(0) $node_(1) Where node_(0) and node_(1) are mobile

[ns] ARQ protocol - TCP sequence number always one

2011-02-25 Thread Anuradha Jain
Hi, Has anyone tried the ARQ protocol code on http://www.ns2ultimate.com/post/1539258323/arq-module-program-update. I tried it on NS2.35, compiles fine but always give TCP sequence number as one. Can someone please help? Thanks, Anu Jain

[ns] ARQ protocol

2011-02-22 Thread Anuradha Jain
Hi, I have tried the ARQ protocol at the following link: http://www.ns2ultimate.com/post/1539258323 But it doesn't give the correct results. The TCP sequence number is always one. Anu