Hi,
I made some simple examples for my students. You can check it at my github https://github.com/danielsengkey/routing
Regards,
Daniel
Sent from Gmail for Android
--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.
1. I use std::map as the table.
2. You can create the mechanism that a node will reply a received hello broadcast. The reply message contains the node ID. A received reply will come through an incoming gate. From there you can build the table. Check my implementation in [1].
3. You can use flooding mechanism to get the n-hops nodes.
Regards,
Daniel
[1] https://github.com/danielsengkey/routing/blob/master/src/e03discovery/NodeSimpleDiscovery.cc