[ndnSIM] What is the correct namespace
renpei.bupt at qq.com
Tue May 23 01:37:13 PDT 2017
Hi ndnSIM friends,
In NFD/daemon/fw/forwarder.cpp, i add below codes to the onIncomingData():
ns3::Ptr<ns3::Node> testNode = Names::Find<ns3::Node>(tNode);
where "tNode" and "prefix" above is in the form of std::string. What i tried to do is to tell all the another nodes that the current node can provide the content with specific prefix. While when i compile the source code, i got below message:
'Names' has not been declared
expected primary-expression before '>' token
'GlobalRoutingHelper' is not a member of 'ns3::ndn'
expected ';' before 'ndnGlobalRoutingHelper'
'ndnGlobalRoutingHelper' was not declareded in this scope
'ns3::ndn::GlobalRoutingHelper' has not been declared
What is the correct namespace?
Look forward to your reply.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM