[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

[ns] regarding adding and calling new added function in Packet class

2007-05-16 Thread Anuradha
I am facing a new problem now. As i have already told that i have added encryption/decryption function in Packet class that are working fine with udpdata.tcl script file after calling functions from udp.cc file. Now i wanted to check it with aodv also. For this i have to call it in aodv.cc file

[ns] regarding sendmsg()

2007-05-02 Thread Anuradha
*)); if (app_ ) { Now in both cases, its displaying either null or some garbage value. what is the problem here? Any little help will be greatly appreciated. thanks, Anuradha -- View this message in context: http://www.nabble.com/regarding-sendmsg%28%29-tf3678871.html#a10280688 Sent from the ns

Re: [ns] regarding sendmsg()

2007-05-02 Thread Anuradha
*)); if (app_ ) { Now in both cases, its displaying either null or some garbage value. what is the problem here? Any little help will be greatly appreciated. thanks, Anuradha -- View this message in context: http://www.nabble.com/regarding-sendmsg%28%29-tf3678871.html#a10280718 Sent from the ns

Re: [ns] regarding sendmsg()

2007-05-02 Thread Anuradha
*)); if (app_ ) { Now in both cases, its displaying either null or some garbage value. what is the problem here? Any little help will be greatly appreciated. thanks, Anuradha -- View this message in context: http://www.nabble.com/regarding-sendmsg%28%29-tf3678871.html#a10280776 Sent from the ns

[ns] regarding segmentation fault(core dumped) in sendmsg() function

2007-05-01 Thread Anuradha
run the tcl script after compilation of ns2. I will really appreciate if any body can guide me about this a little bit. Thanks a lot Anuradha -- View this message in context: http://www.nabble.com/-ns--regarding-segmentation-fault%28core-dumped%29-in-sendmsg%28%29-function-tf3674133.html

Re: [ns] problem: Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl)

2007-04-30 Thread Anuradha
hi did you find the solution of Classifier no-slot problem. I am also having the same problem. Thanks, Anuradha Armando Garcia B. wrote: Hi everybody. I have seen a lot of mails with this problem: --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o28

[ns] which functions are called in backened of tcl script

2007-04-26 Thread Anuradha Sehgal
hello Is there any tutorial or any other document available, that can tell which functions are called in backend when we run tcl script commands in ns2. Thanks -- Anuradha Sehgal

[ns] Regarding ns-simple.tcl script

2007-04-25 Thread Anuradha Sehgal
= [$cbr set interval_] puts Packet Data= [$cbr set packet_data_] #Run the simulation $ns run Anuradha Sehgal

[ns] how to create a new packet and set/get data?

2007-04-22 Thread Anuradha Sehgal
regards, Anuradha Sehgal

Re: [ns] problem with make

2007-04-18 Thread Anuradha
hello sir Did you get any solution for this problem. I am also facing the same problem. if you have its solution, please send it to me my mail id is [EMAIL PROTECTED] i will be very thankful to you. Anuradha sachin dahiya wrote:   I am new to NS. I am running NS on cygwin on Windows

[ns] Errors during running make command

2007-04-18 Thread Anuradha Sehgal
' .. make[1]: Leaving directory '/cygdrive/c/cygwin/ns-allinone-2.31/ns-2.31/indep-utils/webtrace-conv/ucb' = I do not understand why this error is appearing. I will really appreiciate any help regarding this. With regards, Anuradha

[ns] adding global variables in ns2

2007-04-15 Thread Anuradha Sehgal
etc here my_var is variable that i declared globally Is there some different way of doing this, may be i am following wrong way any help will be appreciated thanks, Anuradha Sehgal

[ns] Query about errors during running make command

2007-04-12 Thread Anuradha Sehgal
, but there is no problem, moreover its compiling and running sucessfully if i use gcc, CC, g++(and in turbo c also). Is make comamnd is using some older compiler? If so how can i remove these errors? its urgent, please reply soon Thanks in advance, Anuradha Sehgal

[ns] adding encryption/decryption in ns2

2007-04-12 Thread Anuradha Sehgal
, but there is no problem, moreover its compiling and running sucessfully if i use gcc, CC, g++(and in turbo c also). Is make comamnd is using some older compiler? If so how can i remove these errors? its urgent, please reply soon Thanks in advance, Anuradha Sehgal

[ns] problems during running make command

2007-04-12 Thread Anuradha Sehgal
, but there is no problem, moreover its compiling and running sucessfully if i use gcc, CC, g++(and in turbo c also). Is make comamnd is using some older compiler? If so how can i remove these errors? its urgent, please reply soon Thanks in advance, -- Anuradha Sehgal

[ns] problems during running make command

2007-04-11 Thread Anuradha Sehgal
, but there is no problem, moreover its compiling and running sucessfully if i use gcc, CC, g++(and in turbo c also). Is make comamnd is using some older compiler? If so how can i remove these errors? its urgent, please reply soon Thanks in advance, Anuradha Sehgal

[ns] Regarding linking c++ code in ns2

2006-11-29 Thread Anuradha Sehgal
Dear Sir/Madam, i m facing the probelm of linking c++ code in ns2. i have installed ns2 that is working correctly..but now how to run c++ code in it..please do help me..its really very urgent.. please reply soon..thanks in advance... sincerely, Anuradha Sehgal