Hi
You can find the simulator class here in Simulator.cc file in ns2:
http://www-rp.lip6.fr/ns-doc/ns226-doc/html/simulator_8cc-source.htm
static class SimulatorClass
http://www-rp.lip6.fr/ns-doc/ns226-doc/html/classSimulatorClass.htm
: public TclClass
Thanks again for your time and excuse me if i'm bugging you everyday...
if i'm thinking in in the right way i've understood that i have to modify
the recv() function of the routing protocol because i want to modify the
behaviour of an internal node of a wired network.
i'm using the Session
Hi davide,
Basically there are four types of routing strategies in ns2.
1. Static
2. Session
3. Dynamic
4. Manual
And rtproto{} is an instance procedure in the class simulator that specifies
the unicast routing protocol to be used in the simulation. Basically session
routing provides complete
Hi davide,
To deal with packet by packet handling when a new packet is received by the
node, you need to modify the recv() function, which you can found in the
following files:
- RECV :
WirelessPhyhttp://www-rp.lip6.fr/ns-doc/ns226-doc/html/classWirelessPhy.htm#WirelessPhyx3WirelessPhyx1