Just a tiny hint.. When you trace the code, don't forget that ns-2 is a mixture of C++ and oTcl. Much of the object passing is done through oTcl.
Faisal Siddiqui wrote: > Hi Paul, > > Thanks for the link. > > I totally agree with you. I have spent so much time trying to understand as > to how does the simulation flows through the source code, but can't really > make any headways anymore. I am trying to implement a new control flow > mechanism where no packet are dropped, but in order to do so I have read the > queue size of the next hop so that the current node can decide whether to > accept any more packets from other nodes or flag its exception indicatiing > to all other nodes feeding into it to stop sending more packets to it. I am > really stuck right now because I can't locate where in the source code does > the current node find its next hop address and how does it find that out. I > have bunch of more questions like how does the node and agents are located > to each other because nodes don't store any information regarding agents or > classifiers within them and vice-versa. > > I am still waiting if someone could lend some insight into it. Please let me > know if you have any comments or if you find any help. > > Thanks, > - Faisal > > > On 5/21/06, Paul Vincent Craven <[EMAIL PROTECTED]> wrote: > >> The proper link is: >> http://www.grid.unina.it/~vollero/resources/doc_ns2.27/html/index.html >> >> But the documentation there is limited at best. >> >> I'm in the same boat as you. I've spent a very long time trying to >> understand the passing of events around, how to switch between >> classifiers, etc. I'd love to find someone who really knows NS2 and hire >> them as a consultant for a few hours just to answer all my questions! >> >> Paul Vincent Craven >> [EMAIL PROTECTED] >> >> >>