Re: [ns] How to simulate through C++

2007-10-03 Thread Sidney Doria
Are you interested in C++ tips for ns-2 or interested in learn C++? To learn C++, search "Thinking in C++". Is a free book. To learn how to write C++ code for ns-2, search Pedro Estrela's site. There are interesting tutorials. Eclipse has a flavor to C++ development. (use GCC for Linux and Cygw

Re: [ns] process_data not reached in my Application

2007-10-03 Thread vivid zhang
Hi, I am writting an application too, which is attached to my udp agent Agent/myUdp, and I have the same problem. The packet appear in the trace file, but when using the nam, I can't see the packets flow. Can anybody help? Thanks. Vivid 2007/10/4, Sita S. Krishnakumar <[EMAIL PROTECTED]>: > > >

[ns] How to simulate through C++

2007-10-03 Thread Azim
HI all, I am a new user in NS-2. I have complied several tcl programs and one C++ code from the tuturial. I am interested to write code in C++. But I am not getting, from where should I start or not getting any tutorial on web, so that I can write code in C++. Can anyone help me in this regard?

[ns] process_data not reached in my Application

2007-10-03 Thread Sita S. Krishnakumar
Hi, I have written an application myApp derived from Application. I have a node (node_100) and have attached myApp to it. The node also has a Udp agent attached to it as a sink. When other nodes send packets, though the trace file shows that the sink received the packets, I am unable to process it

Re: [ns] graphs in ns2

2007-10-03 Thread ByungJoon Oh
Hello Alejandro. Gomez, To get graphs, there are many ways such as xgraph, tracegraph2, matlab, etc. refer: http://www.geocities.com/tracegraph In my case, I usually use matlab being easy strong to draw graph. Best regards, ByungJoon Oh, Florida Tech, - Original Message - From: "alejan

[ns] Please help: is working with snapshot different than allinone?

2007-10-03 Thread Muby J
Dear all, I have managed to make install ns-2-snapshot, but it didnt give me notice for environmental variables? how should i set that? & what is different working with snapshot than allinone? hould i copy my tcl & scn to bin to run them? how about nam? my snapshot doesnt come nam ? can

[ns] graphs in ns2

2007-10-03 Thread alejandro gomez
Hi: I have a problem, I need to run some simulations on ns2 but I also need the graphs about the traffic behavior, can anybody tell me how to do it? I already found an example and it worked, but i tried with another example and ii could not do it. _

[ns] how many ways to install ns-2-snapshot?

2007-10-03 Thread Muby J
Dear All, Im trying to install ns-2-snapshot-20050907 for 802.11e HCCA code, after installing the required ns-2 dependencies, in snapshot directory, i run >./configure >make but i get this error dsr/dsragent.cc: In member function ‘void DSRAgent::handleFlowForwarding(SRPacket&, int)’: dsr/dsr

[ns] Poisson traffic_how can i compute analticial parameter of Poisson

2007-10-03 Thread bilge kartal
hi all, i m using following procedure to create poisson traffic. i want to compute probability of a packet arrive per unit time. but i dont know which parameter lambda and how can i compute PMF and CDF of this poisson distribution. Does someone help me?? Regards, Bilge My tcl script; .I m