[ns] nam file

2008-10-14 Thread Douglas Restrepo
Hi... 1. Can somebody tell me if it's possible add some lines to the nam file. For example, at time 5.0 some node receive a CBR packet, then i add to the nam file n -t time -s 0 -S DLABEL -l [hola mundo] -L 2. Im working with wireless nodes, and would like to know if its

Re: [ns] Video streaming simulation

2008-10-14 Thread Varuna De Silva
Hi Noman, Thanks very much for your support, I was just thinking if I would need another tool to do it such as OPNet, but now I know I can use NS2, so I am going to try it out Thanks again Varuna On Tue, Oct 14, 2008 at 11:44 PM, Ahmed, Noman [EMAIL PROTECTED] wrote: Hi, You can use NS in

[ns] nam file

2008-10-14 Thread Douglas Restrepo
Hi... 1. Can somebody tell me if it's possible add some lines to the nam file. For example, at time 5.0 some node receive a CBR packet, then i add to the nam file n -t time -s 0 -S DLABEL -l [hola mundo] -L 2. Im working with wireless nodes, and would like to know if its

[ns] passing variables in C++ to Otcl

2008-10-14 Thread al ch
Hello, I want to pass some variables from C++ to otcl. they are defined in .tcl file at the beginning of simulation as: $myagent set my_var1_otcl 2$myagent set my_var2_otcl 3.14 These variables will be updated during simulation so their value will change at the end of simulation, in my

[ns] A good FAQ

2008-10-14 Thread Sidney Doria
Thomas, The problem of UID invalid is always the same one: a null pointer. You must debug your program with Eclipse. Ask google for Eclipse + debug + ns-2. You will find some tutorials to debug an ns-2 protocol on Eclipse. Okay, you must know for now: if you is sending a packet to transport