[ns] anyone have compare RAODV and AODV in MANET before???

2010-06-21 Thread Irvan Supradana

Dear all

i want to compare RAODV (reverse AODV) and AODV in MANET but till know
cannot get better in PDR and end to end delay of RAODV compared with
AODV..please if anyone have do it before, could you give me the tcl code to
do the comparison

Thank you so much

Irvan
Indonesia


[ns] Strange problem with ns2 printf

2010-06-21 Thread tiongsquare


not sure if is ns2 problem or c++ issue,

i did a function call testingprint(); somewhere else

int ff2 = 0;
void
Myprog::testingprint()
{
if(ff2 == 0){
#ifdef DEBUG
fprintf(stderr, I am from %d node TESTING \n, index);
#endif
printf(AT(%d) hello TESTING \n, index);
testingprint2();
ff2 = 1;
}
}

i notice that if my printf are within if else statements which are in a
function(testingprint()), only node 0 will be printed

I am from 0 node TESTING 
AT(0) hello TESTING

, but if i remove the if else statements, all my nodes will print.

I am from 0 node TESTING 
AT(0) hello TESTING 
I am from 1 node TESTING 
AT(1) hello TESTING 
I am from 2 node TESTING 
AT(2) hello TESTING 

im only having this problem when there is if else in a function, if the if
else is not in a function but in the main, there is no prob :( anyone knows
whats wrong?

-- 
View this message in context: 
http://old.nabble.com/Strange-problem-with-ns2-printf-tp28947016p28947016.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] neighbours list

2010-06-21 Thread GRS Swaroop

Hi friends , Is there any possibility of finding neighbors in WPAN(Zigbee)
for any topology . Or the mac maintains any neighbour list using beacons ?
If anybody know about this please tell me .
~
GRS SWAROOP


[ns] Existing Application Models

2010-06-21 Thread Yida Gao

Dear ns2 Users,

I am an undergraduate student doing some work in Cambridge, MA on NS2.
As my project/paper relates to simulating different types of applications
like FTP, RTP, and SIP, which relate to commercial products (VoIP, Skype,
email, bittorrent, http, etc) and congestion, I was wondering if you knew
any known simulation models already available besides the example ones
released by NS2. Or know of any tcl scripts that relate to specific
applications. It would be great if the transport layer was included too.
I have already looked over the contributed code provided by cse.hcmut.edu.

I appreciate the help.

Best Regards,
Yida


[ns] NS-2 Workbench

2010-06-21 Thread Yida Gao

Hi All,

Has anyone tried NS-2 Workbench (nsBench)? If so, what do you think? I
discovered it recently and would be happy to hear feedback about it.
It seems like a great tool for beginners and experts alike for modeling with
ns2.
link: http://www.mnlab.cs.depaul.edu/projects/nsbench/

-Yida