[ns] Measuring protocol processing in NS2

2010-01-29 Thread B.Mcaleer
Hi, I'm pretty much new to NS2 (built a couple of tutorial level networks, but have a fairly good idea of how it works, and the concepts behind DES simulators), and I am in the process of evaluating NS2 to see if we can use it to do what we need to do. I want to measure the processing loads

Re: [ns] Problems with Puma protocol

2010-01-29 Thread Sidney Doria
Dear Belkhiri, Thank you for your support. The memory leaks are gone. I hope the problems you've reported be now solved. Valgrind is a beautiful tool! Community, I've uploaded a new version of PUMA in SourceForge. www.sourceforge.net/projects/puma-adhoc Sidney Doria UFCG / BRAZIL

Re: [ns] Commands between agents

2010-01-29 Thread Ricardo .
Thanks for your reply. I am aware of the existence of the tutorial, was also where I learned what little I know about ns2. However, what I need is not a new protocol. I need an agent able to send commands to another agent. For example, imagine that I have a protocol (eg A) that lets you send

[ns] Need help with Setdest and Calcdest

2010-01-29 Thread Vaibhav Sinha
Hi all, I am trying to implement localization algorithms on NS2. Hence when I set the location of the nodes by using, $node_(0) set Z_ 0. $node_(0) set Y_ 239.438009831261 $node_(0) set X_ 83.364418416244 I assume that either setdest.cc or calcdest.cc is run. But any changes I

[ns] broking adouble number in ns.2

2010-01-29 Thread Fahimeh Akbari
Hi everybody how can I broke a double number and extract it's integer part in ns.2? (which function, which header file) I must not round it. please help me. it's so important for me. Thanks a lot. fahimeh

[ns] wireless-phy class handling at top layers

2010-01-29 Thread Atif Sharif
Hi all! I am presently experiencing an issue while retrieving information of the Wireless-Phy layer class at the rotuing layer. I am using the old fashioned way of declaring a function in the public doamin of the Wireless-Phy class (coz i need to pop the protected parameters of that class) 

[ns] How to access mac layer in c++ of ns2.

2010-01-29 Thread Atif Sharif
Hi all! How to access mac layer in c++ of ns2. I am presently experiencing an issue while retrieving information of the Wireless-Phy layer class at the rotuing layer. I am using the old fashioned way of declaring a function in the public doamin of the Wireless-Phy class (coz i need to pop the