How can I find the complete list of TCL commands available in NS2?
I am using 802.11 Ext model and when I plot the througput in Xgraph it turns
out to be different depending on how many traces (e.g. MAC trace, Agent trace,
PHY trace) are turned ON. But the thoughput can't change.
So the question is how can I know where there is a REAL throughput value?
I have installed ns-2.33 on cygwin on my vista home basic laptop.
while running simple example programs, I get error,
$ nam: no display name and no $DISPLAY environment variable.
I tried set it with export DSIPLAY=:0.0
it gives error
$ nam: couldn't connect
Your plot script reads data in the trace files. Your script should sum
the sizes of the packets at the AGT level. If the throughput changes,
that must mean you don't specify the kind of lines you want to read in
your plot script.
I don't see any other explanation.
Most questions on these mailing list are left unanswered. Either people
answer directly to the authors, which is a pity, because these answers
could be of some use to others or there are other places I don't know
where you can actually get answers.
How do I access IP layer in NS-2. In wireless simulations, I use MAC to declare
AP and Transport Layer by defining TCP traffic across the network. Where and
how do I specify IP Layer? I mean, is NS-2 using IP layer when I send packets
from one node to another? Which version of IP
Hello, I've tried, both in a wireless and wired scenario, to setup an
FTP connection between two nodes. Everything works, except for the
fact that, if during the simulation I try to print some statistics
about the TCP or TCPSink agent, such as the values of variables...
Remi VANNIER wrote:
Most questions on these mailing list are left unanswered. Either
people answer directly to the authors, which is a pity, because these
answers could be of some use to others or there are other places I
don't know where you can actually get answers.
i add a function in a AODV protocol, this function use a openssl library
(cryptography library ) when i run ./configure and make , i have error cause it
didn't recognize the code
aodv/aodv.o: In function `AODV::AODV(int)':
aodv.cc:(.text+0x266f): undefined reference to
I'm trying to set-up a simulation of a wireless network, where nodes
can go down during the course of an FTP transfer.
To achieve this, I schedule the shutdown of a node with
$ns_ at $time $node_($i) off
The problem is that, when I run the simulation, this is the error
message that NS-2 gives me
When I compile I get the following error:
ISO C++ forbids declaration of 'class_wdhdr' with no type
Did someone know how to solve this error?
'class_wdhdr' is a new header I am trying to create.
How to implement probabilistic-based flooding in NS-2 ?
Say, upon receiving a packet, a mobile node will decide whether
to forward it with a certain probability.
I only know we can use the function below to send a packet in NS-2:
Have you made some changes in NS source code?
That might occur when you forgot to include the proper header file for
the class_wdhdr class or when you have circular references in C++
header files (.h). For instance, when you have a header class like
game.h including the header
To forward a packet with certain probability, you need to include an if
condition in the sendPkt() function. It should be something like this:
Scheduler::instance().schedule(target_, p, delay);
in the SendPkt() function.
Hope it helps
Mail list logo