[ns] an idea please!!

2009-06-25 Thread Meeta Gupta
dear users,   following is an explanation of a scenario. please suggest me what to do...   " there are two nodes say X and Y. X periodically broadcasts a message which Y receives. In response to X's message, Y unicasts a reply to X. Both nodes update respective tables upon

[ns] need help with bonnmotion

2009-06-18 Thread Meeta Gupta
hi users,   i have downloaded, unpacked and ran the installation script for bonnmotion-1.4 in my fedora system. but at the command prompt when i type bm with other parameters i get the error message "NoClassDefFound". i can't figure out why i am getting this message. so please

[ns] FILE * producing segmentation fault

2009-05-24 Thread Meeta Gupta
--- On Sun, 5/24/09, Meeta Gupta wrote: From: Meeta Gupta Subject: FILE * producing segmentation fault To: ns-users@isi.edu Date: Sunday, May 24, 2009, 11:34 AM hi users,    please help me with this problem. i am trying to implement a new agent. i have a method

[ns] FILE * producing segmentation fault

2009-05-24 Thread Meeta Gupta
hi users,    please help me with this problem. i am trying to implement a new agent. i have a method that is periodically invoked to write some statistics in a file. whenever i try to print something in the text file using fprintf i get a segmentation fault. anything without

[ns] FILE * producing segmentation fault

2009-05-24 Thread Meeta Gupta
hi users,    please help me with this problem. i am trying to implement a new agent. i have a method that is periodically invoked to write some statistics in a file. whenever i try to print something in the text file using fprintf i get a segmentation fault. anything without

[ns] clustering and routing protocols

2009-05-23 Thread Meeta Gupta
hi ns-users,   i am trying to implement a new MANET clustering protocol. For the moment, i am only concerned with the clustering technique. I am trying to extend the Agent class. My question is, at which layer should the clustering protocol run? network layer or application

[ns] problem adding a new protocol

2009-05-12 Thread Meeta Gupta
hi ns-users,       i have followed all the steps for adding a new clustering agent in ns-2.31. but when i run the tcl script i get the following error message--   [code omitted because of length] invalid command name "Agent/MyClusAgent" while executing "Agent/MyClusAgent set

[ns] statistics collection by agents

2009-05-12 Thread Meeta Gupta
hi ns-users,   i am trying to create a new clustering agent. do i need another agent for inter-agent communication?   meeta

[ns] ns2's energy model

2009-05-08 Thread Meeta Gupta
Hi ns users   i would like to use ns2's energy model. there is a function for decrementing the energy upon reception or transmission of a packet. the functions are DecrRcvEnergy() and DecrTxEnergy(). how do i use these two functions in my c++ code?   meeta

[ns] code for existing protocols

2009-04-17 Thread Meeta Gupta
hi ns-users,       I am trying to evaluate the performance of various MANET clustering protocols. where can i get the code for long existing protocols like lowest-ID, highest-degree etc? do i need to hand code these protocols?   meeta  

[ns] measuring battery power

2009-04-16 Thread Meeta Gupta
hi ns-users,     how can i measure the remaining battery power of a mobile node?   meeta

[ns] how do i measure signal strength in ns-2

2008-07-28 Thread Meeta Gupta
hi all, how can i measure received signal strength in ns-2? i really need help in this. meeta gupta