[ndnSIM] How to ask consumer acquire the data through different prefix

DJEMAA Adel a_djemaa at esi.dz
Sun Nov 29 22:08:24 PST 2020


Hi,
Please give more detail about the topology used with your three nodes
(point to point or other).
Sincerely.

Le lun. 30 nov. 2020 à 05:33, Shuai Dong via ndnSIM <
ndnsim at lists.cs.ucla.edu> a écrit :

> Hi All,
>
> I am trying to implement the following code, which is used to make a
> consumer get the data it wants through a different prefix.
>
>
> ndn::StrategyChoiceHelper::InstallAll("/","localhost/nfd/strategy/broadcast");
>
> ndn::AppHelper consumerHelper("ns3::ndn::ConsumerCbr");
> consumerHelper. SetPrefix ("/prefix1");
> consumerHelpler. Install (node.get(0));
>
> ndn::AppHelper producerHelper("ns3::ndn::Producer");
> producerHelper.SetPrefix("/prefix0");
> producerHelper.install(node.get(1));
>
> ndn::AppHelper producerHelper1("ns3::ndn::Producer");
> producerHelper1.SetPrefix("/prefix1");
> producerHelper1.install(node. get(2));
>
> Through the producer's log, the node 2 can respond to the data. However,
> the consumer's log shows that "[INFO ] NACK received for: /prefix1/%FE%09,
> reason: NoRoute"
>
> I am wondering if it is because I did the wrong script?
>
> Thanks!
> Shuai
>
>
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>


-- 
Mr DJAMA Adel
Phd student
Ecole Militaire Polytechnique
Algiers 16046, ALGERIA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20201130/5693be26/attachment.html>


More information about the ndnSIM mailing list