Dear Mubashir Rehmani and all,
Thanks a lot, it seems that I should modify
~/ns-allinone-2.34/ns-2.34/tcl/lib/ns-agent.tcl line 202
by adding
Agent/WFRP instproc init args {
$self next $args
}
Agent/WFRP set sport_ 0
Agent/WFRP set dport_ 0
Kindly check these links
http://elmurod.net/
Al Salamo Alikom,
Dears,
My Environment: Ubuntu 9.10 and NS-2.34
While I am building my new routing protocol for WSN, I decide to start with
AOMDV protocol.
I copy the folder and rename it and all its files.
and follow all steps in "Implementing a New Manet Unicast Routing Protocol
in NS2, Fran