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-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 t

Re: [ns] Newbie question

2007-11-16 Thread dhairya
Well I couldn't see that on the console. there are printf statements littering in the C++ code.. .but I couldn't understand... -DP Claus Christmann wrote: > > > See inline below: > > dhairya wrote: >> >> Also, where is the output of the printf statements in the C++ class >> printed >> ?? >

Re: [ns] Newbie question

2007-11-16 Thread dhairya
yeah. I got the ns2 runnin in gdb... some kind of success... i got to know about it from this site : http://web.syr.edu/~dchen02/FAQ.txt still learning.. Any ways... I had sent you an email...I'm in GT,Atlanta now... :) Regards, DP Claus Christmann wrote: > > > See inline below: >

Re: [ns] Newbie question

2007-11-16 Thread Claus Christmann
See inline below: dhairya wrote: > > Also, where is the output of the printf statements in the C++ class printed > ?? Depends on the local printf, but generally either to stdout or stderr (which in most cases is your console, I think). > > -DP > > > dhairya wrote: >> Thanks for the reply..

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 it.

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. I