Re: [ns] Install Ns2

2006-07-05 Thread matt
The information you have supplied is nowhere near complete enough to even start to diagnose your problem, include all relevant information such as the exact version of ns, architecture etc etc Matt On Wed, 2006-07-05 at 18:48 +0200, Itxaso PĂ©rez wrote: > Hello! > > > &

[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 R

[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 unreso

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
ail me the steps in which you successfully debugging your program? After using 'dll-symbols' command to load the libns.dll, I an use 'list' command to show the source files, but, unfortunately, setting breakpoints still does not work. Bests, Matt 2008/12/21 Waleed Tuffaha &

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 > 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

[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. Be

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

2009-01-14 Thread matt Wood
#x27;chan chan2 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
ome. Best regards matt wood

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

2009-01-24 Thread matt Wood
/* For list-keeper */ MobileNode* nextX_; MobileNode* prevX_; ... This will cause the sending of packets from wireless channel to Phy objects incorrect. Perhaps some users have noticed this problem too. I wish to see more comments who are working on multichannel simulations. Thank you very much. Bests, Matt

[ns] Capture Bug in ns-2

2006-03-13 Thread Matt Miller
S1's first RTS and S1's transmission can proceed in parallel with S2's transmission. It seems this was mentioned over two years ago on the list, but the bug still exists in the most recent CVS code: http://mailman.isi.edu/pipermail/ns-users/2003-December/038043.html -Matt