Hi, I'm trying to understand the logic of tcp agent code. In the tcp.cc
there is a function output() which sends tcp packets.
It uses send (p, 0) function inside. Could anybody explain where the
function send is defined? Can't find it in the included files.. Is it
standard networking send? If
Hi
You can find this send() function in Agent.h which takes two arguments
packet and handler
void Agent::send (
Packethttp://www-rp.lip6.fr/ns-doc/ns226-doc/html/classPacket.htm*
*p*,
Handler http://www-rp.lip6.fr/ns-doc/ns226-doc/html/classHandler.htm * *h
*
) [inline]
Hope it helps.
Thank you Mubashir and Ahmad.
If you are not very busy i would have another question. I'm trying to
simulate an efficient flooding and i need the data about transmission power.
I'll try to be clear. I have a MANET with all the nodes moving around and,
supposing a constant signal strength, i want
Hi Maurizio Bellemo
It depends upon which type of energy module you are using. For instance if
you are using SMAC then it has some other variables for energy module. OR If
you are using your customized energy module then it may have other names
used as variables.
I think to calculate the
Hi all,
I want to know the total transmission energy of a wireless node. I
initiated the energy model by:
$ns_ node-config -energyModel $energymodel \
-rxPower $p_rx \
-txPower $p_tx \
-initialEnergy $initialenergy
There is this variable et_ in /mobile/energy-model.cc to keep track
You can find it here: http://www.sce.carleton.ca/wmc/code.html including
instructions to install run it.
I managed to use this patch only in ns-allinaone-2.26 running on RH 9.0
Best Wishes!
胡杰 wrote:
Dear ns users,
i'm studying MAODV protocol. Do you have the ns code