[ns] OLSR by Naval Research Laboratory
Hello all, I try to run OLSR from Naval Resaerch Laboratory. For this, I am supposed to install Protolib ( http://cs.itd.nrl.navy.mil/work/protolib/index.php ) and OLSR ( http://cs.itd.nrl.navy.mil/work/olsr/index.php ), I try this over ns2.33 but I felt. Can someone help me. Regards
[ns] Packet::copy() issue with ns2.33
From: swaroopsh...@yahoo.co.in swaroopsh...@yahoo.co.in Subject: Packet::copy() issue with ns2.33 To: ns-users ns-users@ISI.EDU Date: Monday, 1 June, 2009, 1:22 PM Hi, I am writing a new protocol in NS2 and using application level data packets by extending AppData. So I have class ABC:: public AppData and class PQR::public ABC. I have defined the size() and copy() methods for both, and also defined the constants in packet.h in enum AppDataType. Now, when I run the simulation, I get an error that says... --- pure virtual method called terminate called without an active exception --- Upon debugging, I found out that this error comes when it executes Packet::copy(), specifically the statement p-data_ = data_- copy() here, data_-copy() happens to be a pure virtual function, which is why I am getting the error, but I am wondering what is the cause.. I have defined the proper copy() functions for new AppData types... It would be great if someone points me out my mistake.. If someone wants more information about my code, I would be happy to share it ... thank you, regards, Swaroop Explore your hobbies and interests. Click here to begin. Explore and discover exciting holidays and getaways with Yahoo! India Travel http://in.travel.yahoo.com/
Re: [ns] Problem in installing DYMOUM 0.3 patch in NS2
Hello Imran, You must be skipping some of the modifications that must be done to Makefile.in. Please look again to the patch file and make sure you are doing all the needed changes into your Makefile.in. Regards, fran On Jun 1, 2009, at 4:36 PM, Imran khan wrote: hi, I managed to use the info in DYMOUM patch for Ns2.29 to use it for NS2.33 But after all the work the make command gives the following error make: *** No rule to make target `dymoum/libdymoum.a', needed by `ns'. Stop. libdymoum.a is required but its not given with the patch Any help will be appreciated. -- Talent does what it can; genius does what it must. -- Best Regards, Imran Khan MS Multimedia Communications Muhammad Ali Jinnah University Islamabad, Pakistan +92300-5397149 -- Francisco J. Ros, Ph.D. Student Dept. of Information and Communications Engineering University of Murcia, Murcia (Spain) http://masimum.inf.um.es/fjrm/
[ns] S-MAC and 802.15.4 -HELP ME PLEASE!!!
Hi, Can anyone clarify what is the difference between S-MAC and 802.15.4? S-MAC is Simple MAC? See the following text: Freescale's Simple MAC (SMAC) provides a simple and cost effective solution for wireless networking. Based on the 802.15.4 PHY, it provides command to create simple point-to-point and star networks. The small codes size allows the use of a low cost MCU combined with the MC13201 RF transceiver, creating the ideal platform for applications looking to cut the cord. In addition, features such as repeaters and over-the-air updates help create a feature rich protocol in a small package. In my application I need to use mesh network and a energy model with sleep and wake functions. Does NS2 s-mac fit to my application? Have anyone some reference text? Thanks in advance. Caio
Re: [ns] Packet::copy() issue with ns2.33
Hi guys, I found the solution to the problem. While debugging further, I found out that the virtual destructor ~AppData() was being called. Then I realized that I was instantiating the object of class PQR as follows: PQR pkt(arguments); whereas, the instantiation should have been PQR* pkt = new PQR(arguments); The former method resulted in pkt variable going out of scope at the end of the instantiating function, whereas, it does not happen in the latter method. regards, Swaroop --- On Mon, 1/6/09, Swaroop Shere swaroopsh...@yahoo.co.in wrote: From: Swaroop Shere swaroopsh...@yahoo.co.in Subject: [ns] Packet::copy() issue with ns2.33 To: ns-users ns-users@ISI.EDU Date: Monday, 1 June, 2009, 8:43 PM From: swaroopsh...@yahoo.co.in swaroopsh...@yahoo.co.in Subject: Packet::copy() issue with ns2.33 To: ns-users ns-users@ISI.EDU Date: Monday, 1 June, 2009, 1:22 PM Hi, I am writing a new protocol in NS2 and using application level data packets by extending AppData. So I have class ABC:: public AppData and class PQR::public ABC. I have defined the size() and copy() methods for both, and also defined the constants in packet.h in enum AppDataType. Now, when I run the simulation, I get an error that says... --- pure virtual method called terminate called without an active exception --- Upon debugging, I found out that this error comes when it executes Packet::copy(), specifically the statement p-data_ = data_- copy() here, data_-copy() happens to be a pure virtual function, which is why I am getting the error, but I am wondering what is the cause.. I have defined the proper copy() functions for new AppData types... It would be great if someone points me out my mistake.. If someone wants more information about my code, I would be happy to share it ... thank you, regards, Swaroop Explore your hobbies and interests. Click here to begin. Explore and discover exciting holidays and getaways with Yahoo! India Travel http://in.travel.yahoo.com/ Explore and discover exciting holidays and getaways with Yahoo! India Travel http://in.travel.yahoo.com/
[ns] change the curve style in xgraph
Hi all, Can yo tell me please how can I change the curve style in xgraph, I don't want to have curves with different colors but with different line styles? If it isn't possible to do this with xgraph, what should I use to have this? Thanks.