LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   ns-2 simulator implementing a manet routing protocol (https://www.linuxquestions.org/questions/programming-9/ns-2-simulator-implementing-a-manet-routing-protocol-567582/)

myrto 07-08-2007 09:45 AM

ns-2 simulator implementing a manet routing protocol
 
I am trying to implement a manet routing protocol based on the flooding algorithm. Every packet that is sent by a initial node is forwarded
by every intermediate node to all its neighbours, except for the one from witch it received the packet.

Then I have to try the flooding protocol on a simple ad-hoc network.

I am reading this tutorial:
"Implementing a New Manet Unicast Routing Protocol in NS2", Francisco J.Ros, Pedro M. Ruiz

It is the first time that I am trying to implement my own protocol so I am pretty lost. I wanted to ask if there is anyone who has tried the same thing or anything similar and can offer any useful information. Thanks very much!

Mara 07-09-2007 03:27 PM

When you're dealing with NS-2 it's the best solution to start from a similar code (different protocol of the same kind etc) and change it to fit your needs. Writing from scratch can be painful, especially if you have no ns experience.


All times are GMT -5. The time now is 04:04 AM.