Re: [ns] A comment, and also a request for comment on multichannel simulations.

2009-01-24 Thread matt Wood
Sorry, I don't know why this email was rejected automatically. Send again Hello Ramón, Thank you very much for your reply. I think discussion is good for our works. And I'm sorry to reply late for I'm concentrating on the coding and debugging work recently. I also noticed the

[ns] May I use 'instvar' to bind an array variable?

2009-01-14 Thread matt Wood
chan3 ...' one by one. If it is allowed please tell me how. If not, is there any other way to create an array variable of global range? Thank you very much. Best regards, Matt Wood

[ns] A comment, and also a request for comment on multichannel simulations.

2009-01-14 Thread matt Wood
regards matt wood

[ns] How to get the current simulation time in ns2? Or how to know the remaining time of a timer?

2009-01-05 Thread matt Wood
Dear all, I want to know the current time in C++ programs. Is there a function to do this? Or, How can I get the remaining time of a running timer? In OpNet the function simtime( ) can be used to get the current time. But I can't find the corresponding one in the NS2. Thank you in advance.

Re: [ns] Can anyone tell me how to debug ns2 2.33 using gdb? No successful examples could have been googled yet.

2008-12-23 Thread matt Wood
Hello Walled, I installed a Ubuntu and tried those steps again. It works. Thank you very much. Bests, Matt 2008/12/22 Waleed Tuffaha tuff...@gmail.com Hey Matt, yes, my version is ns-2.33. But i'm running on Linux (Ubuntu). On Mon, Dec 22, 2008 at 5:32 AM, matt Wood withhighp

[ns] Can anyone tell me how to debug ns2 2.33 using gdb? No successful examples could have been googled yet.

2008-12-21 Thread matt Wood
Dear friends, I've read the ns-doc chap24 and chap28, and followed the instructions (Q3) found in http://web.syr.edu/~dchen02/FAQ.txt, but when I try to debug using '$gdb ns' it says: no debugging symbols found. Same questions can be found in the mail-list but they still remain

Re: [ns] Can anyone tell me how to debug ns2 2.33 using gdb? No successful examples could have been googled yet.

2008-12-21 Thread matt Wood
puts to print on the output what is happening. I know it is not much efficient but till now it was sufficient. Best regards, On Sun, Dec 21, 2008 at 11:37 AM, matt Wood withhighp...@gmail.comwrote: Dear friends, I've read the ns-doc chap24 and chap28, and followed the instructions (Q3

[ns] where is the packet header offset set when a new packet is generated?

2008-10-31 Thread matt Wood
Dear all, In NS2, the packet header must be accessed through its offset. But I can not find where the offset_ is initialized. Please look and see if my understanding of this issue is right or not: In the RTPAgent, it is directly use hdr_cmn::access(p) to access the header part. When the