[ns] Simulation of wireless sensor networks

2010-03-12 Thread rucha kulkarni
Hi all, I want to simulate wireless sensor networks using ns2.I am not able to start with it. Could anyone tell me where can I find the documentation for simulating the wireless sensor networks. Thank you Rucha

[ns] Number of agent classes and the constants.

2010-03-12 Thread The Learner
Hi all! In my protocol, there are three types of nodes performing different functions, and thus I'll have to create three different agent classes. Rite? Now my doubt is while implementing these three different (programmer defined) agent classes, the constant passed in the constructor of the

[ns] hi help for Blackhole

2010-03-12 Thread dhaval thakar
hi friends if any one have a code for adding packet dropping node on AODV please help me I am implement paper which have blackhole attack on AoDV thanx in advance

[ns] PacketQueue:: remove() couldn't find target

2010-03-12 Thread Ariel Goldberg
Hi All I am receiving the following error messages in my simulator Direction for pkt-flow not specified; Sending pkt up the stack on default AND, right before it unceremoniously explodes and DIES! PacketQueue:: remove() couldn't find target Tracing through my simulator, i believe these

Re: [ns] Number of agent classes and the constants.

2010-03-12 Thread MiLo_TUD
The Learner wrote: Hi all! In my protocol, there are three types of nodes performing different functions, and thus I'll have to create three different agent classes. Rite? Now my doubt is while implementing these three different (programmer defined) agent classes, the constant passed

[ns] Script to analyse the trace file

2010-03-12 Thread Sakhile Michael Ncnana
Dear all, I have managed to simulate some transport layers protocols to compare them. I need the scripts to analyse the trace file and gives the number hops and the number of flows. I want to check their behavior of throughput against the number of hops and flows. Thank you in advance. -- S.

[ns] queue split object prob

2010-03-12 Thread waqar haq
hi to all plz do reply, i m in die hard need i was trying to get nos of bytes currently contain in a que after searching i have found that queue class contain a packetqueue object that hav a protected variable bytes_ i have done this to get a queue handle set queu [[[$ns link $node $nbr ]

Re: [ns] Number of agent classes and the constants.

2010-03-12 Thread The Learner
Thank You for your reply, But what I mean to ask is, as given in the pdf, nstr-how_to.pdf, the one which implements protoname protocol, the class Protoname derives from class Agent, and the constructor of Agent class is passed with the argument, PT_PROTONAME which is a constant. In my case, I

Re: [ns] queue split object prob

2010-03-12 Thread Ariel Goldberg
Hi Here's what i think you need to do: You need to have a reference to the IFQ, and once you have a reference to the IFQ you can easily access the variable bytes_ associated with that IFQ Insert the red code into the files node.cc and ns-lib.tcl (shown below). These will make sure that any

[ns] How to change the position of a mobile node?

2010-03-12 Thread Larissa Lucena
Hi, there! I have to change the position of a mobile node, and used the set_destination method, but I doesn't seem to work. Anyone has any clue? Thanks! Larissa -- O maior prazer do inteligente é bancar o idiota diante de um idiota que banca o inteligente.

Re: [ns] How to change the position of a mobile node?

2010-03-12 Thread Larissa Lucena
I've forgotten to say that this change is in my c++ code, not in TCL. Thanks! Larissa On Fri, Mar 12, 2010 at 11:03, Larissa Lucena larissaluc...@gmail.comwrote: Hi, there! I have to change the position of a mobile node, and used the set_destination method, but I doesn't seem to work.

Re: [ns] Number of agent classes and the constants.

2010-03-12 Thread MiLo_TUD
The Learner wrote: Thank You for your reply, But what I mean to ask is, as given in the pdf, nstr-how_to.pdf, the one which implements protoname protocol, the class Protoname derives from class Agent, and the constructor of Agent class is passed with the argument, PT_PROTONAME which

Re: [ns] How to change the position of a mobile node?

2010-03-12 Thread Larissa Lucena
Guys, it worked! The error was mine at other point of the code! Sorry! Larissa On Fri, Mar 12, 2010 at 11:07, Larissa Lucena larissaluc...@gmail.comwrote: I've forgotten to say that this change is in my c++ code, not in TCL. Thanks! Larissa On Fri, Mar 12, 2010 at 11:03, Larissa

[ns] .cc .h

2010-03-12 Thread Amer Abu Salem
Hi all , I have 2 files for caching strategy model in MANET (ABC.cc ABC.h) I am looking for some one who can help me to run that model in NS2 structure .  Thanks in advance Amer

Re: [ns] How to change the position of a mobile node?

2010-03-12 Thread Larissa Lucena
Ok, disturbing you again. Now I want to know when the move a mobile node made is done, when it just reached the destination. Any idea? Thanks again! Larissa On Fri, Mar 12, 2010 at 12:14, Larissa Lucena larissaluc...@gmail.comwrote: Guys, it worked! The error was mine at other point of

[ns] MIH+NS2.33

2010-03-12 Thread meriem bouzouita
Hi, I want to know if NS2.33 implement MIH(802.21) or there  is a patch of MIH that can be added under NS2.33. Best regards.

[ns] Random Node movement !

2010-03-12 Thread Rishi Kumar
How to specify random movement of nodes in a Tcl Script??

[ns] Trace File analyser ??

2010-03-12 Thread Rishi Kumar
Is there any tool to analyze the Trace file generated by Ns2 ?? Please give me a link for the same ! Its urgent ! Thanks Rishi Kumar

[ns] HOW TO IMPLEMENT THE TORA PROTOCOL IN ADHOC

2010-03-12 Thread archer.ling
with the ns2.34's tora protocol, i cannot use it as the dsdv or aodv, it have some errors,so friends who can tell me how to implement that protocol in reality.thanks