[ns] error, help me

2008-09-17 Thread Batbold Toiruul
Hello everybody, I am studying NS-2 and working on examples of Marc Greis. http://www.isi.edu/nsnam/ns/tutorial/index.html i completed all the guidance on the section 9, however i received e off_srmrror from ns. Error: ns: [code omitted because of length] :invalid command name SRMEXT

[ns] How are routing decision made in MAODV?

2008-09-17 Thread Asraf
MAODV picks the path with least number of hop count from source to destination from its multicast tree. But is there some algorithm, Prim's or Dijkstra's that is used to calculate this? Where can I see this fact from the code? And if I want to display the (randomly selected) source -

[ns] Routing Table

2008-09-17 Thread Maurizio Bellemo
Hi, I'm writing a piece of code to create a routing table with the use of std map. Does anyone know how I can implement lifetime?? I need to create a timer which, at the expiration, causes the removal of the entry in the table. Any suggestions? Thank you very much Maurizio

Re: [ns] Routing Table

2008-09-17 Thread Mubashir Rehmani
Hi Mauriwio Bellemo Here is the example of simple timer *Declare this timer in the header fil***e** class MyTimer : public TimerHandler { public: MyTimer(AODV* ms) : TimerHandler() {ms_=ms;}; protected: virtual void expire(Event* e); AODV* ms_; }; MyTimer

[ns] Wireless example on ns2.29

2008-09-17 Thread Abdelhak Farsi
Hi ns users; I tested a lot of wireless SCRIPT using ns2.29, but I got problems, I need functional script that I could using it to write my own, so anybody has an example of TCL script that allows to simulate wireless LAN through the ns 2.29 . thanks a lot for help

[ns] problem running mw-node.tcl example

2008-09-17 Thread Abdelhak Farsi
Hi there, I've follow all the steps in order to implement the Mobile Wireless Node on ns2.30, but unfortunately when I execute the given example: ns mwnode-ex.tcl I got the following error; So anybody use the same example or has any observation related to this kind of error thanks a lot RIB

[ns] Add queue events on trace file

2008-09-17 Thread mozam
Dear ns-users, I would like to add in the trace file the enque and deque events of the packets, that is, the incoming time of the packet in the queue, the outgoing time of the packet in the queue, the size of the packet and the current node address. As interface queue type, I am using

Re: [ns] Question about the web page: wine.icu.ac.kr

2008-09-17 Thread Germán Montoya
I re-send the original message because i can't find a solution. Tank you. 2008/9/17 Germán Montoya [EMAIL PROTECTED] Hello, I'm searching the module obs.tar to work with NS2 in the page wine.icu.ac.kr, but it doesn't work. Maybe the page changed of hosting, in this case, if you know how