Re: [ns] Newbie question

2007-11-17 Thread dhairya
got sorted out few things... However, I wanted to know what methods/objects are invoked when a link failure occurs ? Can one clarify this - when i run a ns2 script, i think a single simulator object created and tht controls the flow and events ? -DP dhairya wrote: yeah. I got the

Re: [ns] Newbie question

2007-11-17 Thread dhairya
What I'm trying to do is : say A and B are routers on the path from source S to destination D, Now, if a link between A and B fails or goes down, A should send an ICMP packet to the source S For this I need to know - 1. what methods are invoked when a link failure occurs so that I could modify

Re: [ns] Newbie question

2007-11-16 Thread Claus Christmann
See inline below: dhairya wrote: Hi, I'm new to ns2 and had few questions regarding it : 1. Is the route-computation table stored globally than specific to node. 2. How does this simulation work, I mean the flow from invoking the ns2 script to the invoking the C++ code 3. If I

Re: [ns] Newbie question

2007-11-16 Thread dhairya
Also, where is the output of the printf statements in the C++ class printed ?? -DP dhairya wrote: Thanks for the reply.. .but am unclear and have few more doubtsn.. How do I trace the actual flow ...say when I run the Tcl Script, I want to track Tcl Objects as well as the invoked

Re: [ns] Newbie question

2007-11-16 Thread dhairya
Thanks for the reply.. .but am unclear and have few more doubts. How do I trace the actual flow ...say when I run the Tcl Script, I want to track Tcl Objects as well as the invoked C++ object and their values. Well, what I'm trying to do is understand the current protocol and modify

[ns] Newbie question

2007-11-15 Thread dhairya
Hi, I'm new to ns2 and had few questions regarding it : 1. Is the route-computation table stored globally than specific to node. 2. How does this simulation work, I mean the flow from invoking the ns2 script to the invoking the C++ code 3. If I make few changes to the existing code, how

[ns] Newbie question sorry

2006-03-21 Thread martyn
How do I do these two stages? (1) You MUST put /usr/local/ns-allinone-2.29/otcl-1.11, /usr/local/ns-allinone-2 .29/lib, into your LD_LIBRARY_PATH environment variable. If it complains about X libraries, add path to your X libraries into LD_LIBRARY_PATH. If you are using csh, you