[ns] urgent please help

2006-11-13 Thread k m
Hi I am trying to build a custom application. Consider the scenario when an application has to pick one TCP agent from a number of TCp agents (that are attached to it, each agent sends out packet to a different link) to send the packet out. How will this be done using C++ in NS2. I mean

[ns] Pointers of Mobile Nodes

2006-11-13 Thread babak
Dear All, Could you please tell me how can I get access to the pointer of two mobile nodes, sender and receiver of a particular packet P. Thanks Babak

[ns] need help on mobiwan

2006-11-13 Thread 陶然
* Hello everybody! Is there anyone who has used the mobiwan patch in NS2?I met some problems in the simulation,and can't solve it. If someone are familiar with the mipv6 implementation in NS2.29 ,could you send a email to me? This will be very helpful to me:) Thank you very much! taoran

[ns] how can i compute the performance of multicast aodv protocol

2006-11-13 Thread Anjali Arora
hi all can any one suggest me how can i compute the performance of maodv algo like packet delay,throughput,packet loss and other parameters by studying trace or nam files. thanks in advance anjali - Find out what India

Re: [ns] file not recognized: File format not recognized error

2006-11-13 Thread Renata Vidal
gcc with tcl? Are you sure? On 11/10/06, Swalaxmi Pandit <[EMAIL PROTECTED]> wrote: > > Hi, > > After writing the code and saving the file by the name example1a.tcl in the > tcl directory,when I try to run the program by giving the command, > gcc -o example1a example1a.tcl > I am getting the foll

[ns] Scenario File

2006-11-13 Thread Mohammad Haseeb Zafar
Hello How I can set scenario file with random velocities for the following parameters: traffic type: cbr total nodes: 50 source nodes: 20 seed 1.0 rate 10 packets/sec dimensions: 1000m x 1000m pause time: 30 sec random velocity: 0-20m/s simulation time: 800s Cheers Haseeb

[ns] Scenario File

2006-11-13 Thread Mohammad Haseeb Zafar
Hello How I can set scenario file with random velocities for the following parameters: traffic type: cbr total nodes: 50 source nodes: 20 seed 1.0 rate 10 packets/sec dimensions: 1000m x 1000m pause time: 30 sec random velocity: 0-20m/s simulation time: 800s Cheers Haseeb

[ns] need help for Make fail

2006-11-13 Thread pooja Vyavahare
Hi all, I am using NS-2.28 on fedora-2 ... I am using NS from long time and everything was working fine... Now recently I added some files in it...But these files are also building properly but when I run "make" command the following error is coming... epa indep-utils/webtrace-conv/nlanr indep-ut

[ns] SENSOR NETWORKS SIMULATIONS HELP

2006-11-13 Thread antonis antoniou
hi all, i am new on sensor networks and i would like to ask for your help. does ns-2 support sensor networks? or i have extend it? THANKS

[ns] Problems found with input data

2006-11-13 Thread juan manuel gomez garcia
Hi ns-users: Some time ago I install the ns2 simulator. All works ok. I run my simulations and obtain the trace files. The last week I install Tracegraph OK to analized the trace file. And now, when I run a simulations I obtain the next message: ... Error in file `demo1.tr' at line 1112: Unknow

Re: [ns] need help for Make fail

2006-11-13 Thread juan manuel gomez garcia
This message wants to say that everything is still equal, that there are not any change. In other words, 'make' dont make anything. Dont worry, all work fine. >From: pooja Vyavahare <[EMAIL PROTECTED]> >To: ns ns >Subject: [ns] need help for Make fail >Date: Mon, 13 Nov 2006 15:24:06 + (G

[ns] RE : Scenario File

2006-11-13 Thread molo badji
Hi, You must generate two files. One traffic file and one mobility file and call them in a tcl script that you can find examples in the folder ns-2.x/tcl/ex (for example wireless.tcl). Do like this: 1. go in the folder ../ns-2.x/indep-utils/cmu-scen-gen and type ns c

[ns] how to get handles (pointers) to multiple agents from an application

2006-11-13 Thread k m
Hi I am working to develop this application that needs to talk to other applications. They all use tcp as their transport agent. When one node can talk to two other nodes, then it has two agents attached to it. Before settingup the ip addresses it has to select the agent (ie. agent_ -

[ns] Attaching problem

2006-11-13 Thread otcl
Hello, I'm Patrick. Can someone help with TCP problem? I'm trying to run following tcl code: or {set i 1} {$i<=$NetNb1} { incr i } { for {set j 1} {$j<=$NumFlows} { incr j } { set tcpsrc($i,$j) [new Agent/TCP/Newreno] set tcp_snk($i,$j)

[ns] [ns2]address classifier problem

2006-11-13 Thread 湘和
Hi: The ns2 manual says that addressclassifier is the default classifier for unicast routing (page 45) in wired network. A node in wired network is default a unicast routing node. When I am using gdb to debug my program, I find that the truth is not the same as what the manual says. I

[ns] Energy consumption and packet length

2006-11-13 Thread Matthias Budde
Hi, I am wondering whether the energy consumption when sending a packet and the length of the packet interdepend in ns2. Or do all packets consume the same amount of energy regardless of the length? Thank's in advance. Best, -Matt

[ns] Printing value of Scheduler::instance().clock()

2006-11-13 Thread Mark C Wood
I'm using NS-2 version 2.29 on a Fedora Linux PC. I'm using a MAC protocol, and I want to find the average delay time. I heard that I need to do that with changes to the C++ code, rather than a tcl script. I want to write the enqueue packet time to file1, and dequeue packet time to file2. Then, w