[ns] Problem with "regagent_"

2007-06-24 Thread xueguanpeng
hello everybody:I use NS2-2.27 recently,the OS is Fedora Core 5 ,and encounter a problem while I run a wireless simulation.first is the tcl script:mobileIP.tcl# ==# Options# ==

[ns] How to get an agent's trace file?

2007-06-24 Thread 魏于涛
Hi everyone,I want to know how to obtain the trace file of a specific agent in ns2. I want to know what the specific agent did, but I do not know how to trace the agent. Any suggestions will be appreciated.Thanks in advance. Yutao Wei,CCMIP, Shandong University, P.R. China ___

[ns] Distance function in mobilenode.cc

2007-06-24 Thread leticia bela
Hi all, I modify the AODV protocol, in aodv.cc I want to calculate the distance between a node and its neighbors with using the distance function in common/mobilenode.cc having as parameter "MobileNode" type how can i proceed. (In aodv index is a nsaddr_t type) thank you for your Help

Re: [ns] urgent help with trace graphs

2007-06-24 Thread Venelin
Hello, I am having the same issue. Did you managed to interpreter this trace file and i so, what command did you use? bageira wrote: > > hi...i'm in urgent need of help with creating a trace graph from a trace > file.i'm using ns-2 and my code is for a wimax module. i have a trace > file

[ns] how does monitor-queue works?

2007-06-24 Thread Ali Moarefianpour
Dear NS users I simulated a simple network consisting of 2 sources and 3 links, using ns2.29. In this simulation I want to monitor the queue between nodes n3 and n4. I used the following command to do this: set qmon [$ns monitor-queue $n3 $n4 [open qm.out w] 0.1]; [$ns link $n3 $n4] queue-sample-