If you are using wireless nodes you cannot use cTopo to compute the path, it is valid for wired only
Respect to your question, if you are using a wireless network, the answer is no and no, you cannot use targetNode->getPath or topo->calculateWeightedSingleShortestPathsTo
--
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.
To unsubscribe from this group and stop receiving emails from it, send an email to omn...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/HuU8zzrbeAg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/omnetpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/AM0P193MB041962B4B34F7B1220C08ED18C0B0%40AM0P193MB0419.EURP193.PROD.OUTLOOK.COM.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/AM0P193MB0419A39469249F7A975B29378C0B0%40AM0P193MB0419.EURP193.PROD.OUTLOOK.COM.
With RIP no, with OSPF, the protocol can see the route, but I don't know if the actual code allows to show it. The easier to obtain a route, with independency of the protocol, is iterate over the routing tables of the nodes, you can use L3AddressReolver to extract the routing table of the different nodes and extract the complete route.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/AM0P193MB0419A46A91062866FB9386F88C050%40AM0P193MB0419.EURP193.PROD.OUTLOOK.COM.