[ns] compiling ns-2 problem

2013-02-13 Thread Dalia El3wely
after making changes in ns2 c++ files , i tried to rebuild ns2 by using " make" command, i didn't get any errors, but when i tried to simulate a simple scenario i found that my changes have not been applied !!I'm using ns-2.35 under cygwin + windows 7..even when i tried to print a simple l

[ns] Multipath DSR

2013-03-09 Thread Dalia El3wely
Hello ns2 users..how can i implement multipath DSR in ns2 ?i don't know if i have to make changes in dsragent.cc file only or i have to change something in routecache.cc/.h files .. please, can anyone give me any implimintation of a multipath protocol in ns2 (not required to be DSR ) ? Th

[ns] Traffic load in a node at specific time.

2013-07-20 Thread Dalia El3wely
Hello NS-2 Users, How can i find out the amount of traffic load that passes through a node at specific time, i.e. which ns2 files must be included in my xx-protocol-agent.cc /.h files so that i can get this value? Thanks, Dalia.

[ns] How to debug c++ code under cygwin?

2013-07-22 Thread Dalia El3wely
Hello ns-2 users,I've modified the DSR protocol to improve its routing scheme.. no errors appeared through the compiling process , but i got a " Segmentation fault (core dumped)" error when i tried to run a TCL script with DSR as a routing protocol..I know, there is something wrong in my code.S

[ns] Debugging Using " fprintf" problem..

2013-08-12 Thread Dalia El3wely
Hello ns users,I used to debug my C code using " fprintf(stderr," Test Test\n");" and " fprintf(stdout," Test Test\n");" statements, every thing was fine, one day ago, as usual, i made some changes in dsragent.cc file then i added some fprintf statement, when i tried to run a simple tcl scri

[ns] DSR , IEEE 802.15.4 standard, WSN, Packet Size ..

2013-08-31 Thread Dalia El3wely
Hello ns-2 users,A.A.I tried to test the performance of DSR protocol on a simple WSN topology using ns2.35 ,, i used " wpan " model that simulate the MAC and the PHY layers of the IEEE 802.15.4 standard. During the simulation time, the following- highlighted- lines appeared in my termi

[ns] Include Problem ..

2014-03-01 Thread Dalia El3wely
Hi, when i tried to include " .. /ns-2.35/tools/queue-monitor.h" file into " .. /ns-2.35/mobile/energy-model.h" i got this error message during the compiling time.. In file included from ./mobile/energy-model.h:51:0, from ./common/node.h:59, fro