[ns] random in ns

2007-06-13 Thread Nguyen Lan
Hello, I put ns-random 0 to my script in that 2 mobile node send data to a base station but the throughput each node can send doesn't change time ti time. Could anybody help me. Cheers, Nguyen

[ns] [URGENT] - packet ENCAPSULATION

2007-06-13 Thread Utente ns2
Hello everybody, let's suppose we want to encapsulate N small packets (each one with a certAin UDP header and its corresponding data) into a UDP bigger one. Is any agent of this kind already available in ns2? Any tip would be greatly appreciated. Thank you very much in advance for your help.

[ns] Strange behaviour of TCPSink instvar bytes_

2007-06-13 Thread Georg Piewald
Hi everybody, I experienced a very odd problem. I want to output the number of bytes received by a TCPSink agent at a specified time. This can be read by the instance variable $bytes_. Now if I call a procedure at the required point of time, which outputs the nr of bytes, everything works fine.

Re: [ns] Strange behaviour of TCPSink instvar bytes_

2007-06-13 Thread Georg Piewald
Georg Piewald wrote: [...] Ok, maybe the subject is a bit wrong - I just noticed that this problem is true for any instance variable. It can also be shown for example on cwnd_ which is a variable of Agent/TCP. Regards, Georg

[ns] Not getting WL - keyword in .tr file

2007-06-13 Thread Atul Singh
Dear All, I am new to NS2 and presently going through Marc Greis tutorial. Presently on Chapter X Creating Wired-cum-Wireless and MobileIP Simulations in ns. It is written that Note here that for wired-cum-wireless simulation traces may be generated for both wired and wireless domains. Both

[ns] How to use semantic queue in ns2?

2007-06-13 Thread M. Shen
Hi everyone, I tried to use PacketQueue/Semantic as the queue protocol in my simulation, but segmentation fault occurs. Does anyone use PacketQueue/Semantic before? Did you have the same problem? Thank you very much, Maggie

Re: [ns] How to use semantic queue in ns2?

2007-06-13 Thread Wenhua Zhao
Hi, I never used that. But there are ways to debug the code. I use gdb and tcl-debug together to debug both the C++ and tcl code. I found it very helpful. See chapter 24 of `the manual' for how to use them. -- Wenhua On 6/13/07, M. Shen [EMAIL PROTECTED] wrote: Hi everyone, I tried to

[ns] subclass of MobileNode

2007-06-13 Thread gesitos
Hi, I am trying to create a class which is a subclass of MobileNode. The part of the tcl code I am using is Class SubMobile -superclass Node/MobileNode SubMobile instproc init {args} { ... class definitions } proc create-submobile-instance { id } { ... global SubMobile

Re: [ns] 802.11e TKN, little error. i give a nice website in return

2007-06-13 Thread Sim Tec
Hello NS Users, Sven, Matthias, hilal, and Pepe I managed to get rid of the dh_da dh_sa problems that I mentioned in the previous post. BUT the rest of the make errors remain. I am worried now. Because this makes me think that I need to use a different version of NS, because Pete Barbe had a