[ns] Urgent Help Needed:How to limit the packets being sent from source to destination

2007-03-20 Thread Vijay Kumar c
Hi ns Users, I am facing a problem of limiting the packets being sent for example consider we send 10 packets from source(mobile node1) to destination(Mobile node10) I have to limit the packets being sent from 10 packets to suppose 5 packets or 1 packet should be sent from source to destination

[ns] how to send the packet with required sequence no,

2007-03-20 Thread Mihir Trivedi
Hi all, i want to send the TCP packets with required sequence no. e.g. suppose i want to send all the packets from sequence no 8. then it should send the packets fro that 8,9,...so on. what i have done is that i have changed t_seqno_ to my reuired seqno. called sendmuch(...)

[ns] help about dataRate_ in Wlan needed!

2007-03-20 Thread wenping zhang
Dear all, I change the dataRate_ to 100Mb to check whether the PHY data rate can be seted just by this. And the node is attached with an UDP agent with CBR traffic. And the results show that the throughput improved just 0.2Mbps,with the CBR rate 448Kb. Then I increased the CBR rate to 2Mb,the

[ns] How to analyze the 1090 MHz channel performances ??

2007-03-20 Thread Dani
Hi all ! I'm new. I'm new in the mailing list and I'm new with ns-2. I apologize if I'm going to make banal questions. That's my problem: I have to analyze the capacity of the 1090 MHz channel used by airplanes' transponders to transmit/receive air traffic surveillance services (such like ADS-B

[ns] (emergency)help me[about reading variable value in tcl]

2007-03-20 Thread Amin Irandoost
hi dear friends how to read variable value of C++ in OTCL?? for example a partial of code are class test:public TclObject{ public: int i; test(); . . .}; test::test(){ bind(i_,i); } in Tcl write this: set te [new test] set x [$te $i???] ?? -- Amin Irandoost -- Amin Irandoost

Re: [ns] (emergency)help me[about reading variable value in tcl]

2007-03-20 Thread Scott Ricketts
I think you have to change set x [$te $i] to set x [$te i_] -Scott On 3/20/07, Amin Irandoost [EMAIL PROTECTED] wrote: hi dear friends how to read variable value of C++ in OTCL?? for example a partial of code are class test:public TclObject{ public: int i; test(); . . .};

[ns] Please help me (emergency) about reading variable value

2007-03-20 Thread Amin Irandoost
hi dear friends how to read variable value of C++ in OTCL?? for example a partial of code are class test:public TclObject{ public: int i; test(); . . .}; test::test(){ bind(i_,i); } in Tcl write this: set te [new test] set x [$te $i???] ?? -- Amin Irandoost

[ns] NS2- Timer Error-Pl HElp

2007-03-20 Thread Shaili Desai
Hello all I am trying to implemet a new traffic generrator for VoIP in NS2, my .cc compiles perfectly and after that when I try to run my script with that, it gives me the following error: Attempting to cancel timer at 0x9ed2140 which is not scheduled. I am calling

Re: [ns] Please help me

2007-03-20 Thread Pedro Vale Estrela
Normally you want to do the opposite: cal otcl in c++ and get the returned string. For that you should use the macros in my file ns_utils.cc http://tagus.inesc-id.pt/~pestrela/ns2/contributed_code.html#_Toc147652229 eg: TCL_EVALF(%s some_instproc %d, name(), MH_iaddr); assert(

[ns] IPsec implementation in NS2

2007-03-20 Thread Shaili Desai
Hello all Does anyone know of IPsec implementation in NS2? I know of L2TP and MPLS but is htere any IPsec implementation? Kindly let me know if you are aware of this. Have a good one! -- Thanx Shaili Desai Master's Candidate Telecommunications and Management University of Maryland,College

Re: [ns] Disable ARP

2007-03-20 Thread Pedro Vale Estrela
I've got the same problem, and using this code does not solve the problem for all cases (in my particular simulation) Instead, I'm using this with great success: In C++, at the top of ARPTable::arpresolve , insert this code that requires #include utils_ns.h (see

[ns] Need source code for TPSN to wireless sensor network

2007-03-20 Thread Hyung Gun Lim
Dear all. these days, i'm studing in time synchronization in sensor network. Is there anyone doing TPSN(Timing-sync Protocol for Sensor Networks) protocol in ns-2 if anyone has source code or knows URL related time synchronization in ns-2, I would appreciate if you could share it. please

[ns] WFQ error -- help needed...

2007-03-20 Thread Andrew C. Jung
Hello... ** I am trying to patch a WFQ Scheduler module developed by Paolo Losi into ns2 now. But when I try to run a sample OTcl code, I get following error. I set up the ns2 under Window XP professional environment. ** ** invalid command name Queue/WFQ while executing Queue/WFQ create