Reputation: 1
How can i modify the routing modules on ONE simulator like epidemic ,prophet, spray and wait to send a response when the destination node receives a message?
Upvotes: 0
Views: 82
Reputation: 26
That kind of behavior is not part of the routing modules but part of applications. The routing modules only deal with trying to move messages toward the right destinations. The typical one-way messages you can create with the Message Generators but for more complex behavior (e.g., request/reply) you need an application module.
There is already a PingApplication that is usually sufficient for simple request/reply scenarios. If you need more complex application behaviour, making a new application based on the PingApplication is probably the best way forward.
Upvotes: 0