After some review on paper as what I mention before, showing how to add some new routing protocol. There involve some editing on existing NS-2 library like e.g make.o, packet.h & etc. But after I successes install new routing protocol call protoname the test result from some simple simulation show all packet drop from network but it manage work with no error on the program. So now I need to compare this routing protocol with current routing protocol available NS-2 library.
To set different initial energy to every node
2 years ago