[ns] OTCL-Linkage

2006-08-09 Thread Henni Girl
Hello P. actually I need only the values of the bind variables in the AODV agent. The binding itsself works - I've tested it. What I want is to use the value of, let's say, rq_context in the function AODV::sendRequest(). This variable has the value of 0, it gets it in the simulation script:

[ns] How to reference an object generated in simulation script?

2006-08-09 Thread Henni Girl
when I create a new Object in my tcl script, just like set Agent1 [new Agent/AODV] How do I reference this special Agent in C++? Are there special methods that I can use? jana -- Feel free – 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

Re: [ns] OTCL-Linkage

2006-08-09 Thread Henni Girl
Hello Prashant Batra, actually I thought about a solution with global variables, but I want to use my new class the same way the AODV protocol is used just with some extensions and without affecting AODV. That's why I think it's best to go on looking for a solution accessing objects created