<div dir="ltr"><div dir="ltr"><div>Hello,</div><div><br></div><div>I am trying to simulate a scenario using ndn. I have just one consumer (node 0) and one producer (node 2). The consumer sends an interest message to the network and apparently the interest message arrives at the producer (node(2) responding with Data...). My question is why whenever this Data message is received by the consumer I get the log:</div><div><br></div><div><i>+0.000729504s 0 ndn.Consumer:OnNack(): [INFO ] NACK received for: /prefix/%FE%00, reason: Duplicate<br></i></div><div><br></div><div>Here is the complete log, as you can see, there is no other activity before in the network:</div><div><br></div><div><div dir="ltr">+0.000000000s 0 ndn.Consumer:Consumer()<br>+0.000000000s 2 ndn.Producer:Producer()<br>+0.000000000s 0 ndn.Consumer:StartApplication()<br>+0.000000000s 0 ndn.Consumer:SendPacket()<br>+0.000000000s 0 ndn.Consumer:SendPacket(): [INFO ] > Interest for 0<br>+0.000000000s 0 ndn.Consumer:WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items<br>+0.000000000s 2 ndn.Producer:StartApplication()<br>+0.000342929s 2 ndn.Producer:OnInterest(0x2556620, 0x255f3a0)<br>+0.000342929s 2 ndn.Producer:OnInterest(): [INFO ] node(2) responding with Data: /prefix/%FE%00<br>+0.000729504s 0 ndn.Consumer:OnNack(): [INFO ] NACK received for: /prefix/%FE%00, reason: Duplicate<br></div><div dir="ltr"><br></div><div>Shouldn't it be something like:</div><div><br></div><div>+0.000729504s 0 ndn.Consumer:OnData(): [INFO ] < DATA for 0<br></div><div dir="ltr"></div><div dir="ltr"><br clear="all"></div><div>Thanks so much for helping me with this issue.</div><div>Cheers</div><div>Carlos<br></div><div dir="ltr">-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">-------------------------------------------------------------------------------------------------------- <br><b>Carlos Borrego Iglesias </b><br>dEIC - Departament d'Enginyeria de la Informació i de les Comunicacions <br>Universitat Autònoma de Barcelona <br><a href="mailto:mailto" target="_blank">mailto</a>:<a href="mailto:cborrego@deic.uab.es" target="_blank">cborrego@deic.uab.es</a> <br><a href="http://deic.uab.cat/~cborrego/" target="_blank">http://deic.uab.cat/~cborrego/</a><br><a href="http://www.researchgate.net/profile/Carlos_Borrego_Iglesias" target="_blank">http://www.researchgate.net/profile/Carlos_Borrego_Iglesias</a><br><span style="color:rgb(153,153,153)">tel: +34 93 5814835</span><br>---------------------------------------------------------------------------------------------------------<br><font size="1">Avís - Aviso - Legal Notice - (LOPD) - <a href="http://legal.ifae.es" target="_blank">http://legal.ifae.es</a></font></div></div></div></div></div></div></div></div>

<br>
<span><font style="font-family:arial,helvetica,sans-serif" size="2"><span lang="ca-ES"><span style="font-family:courier new,monospace">Avís -
Aviso - Legal Notice - (LOPD)</span> -<span style="font-family:courier new,monospace"> </span><a style="font-family:courier new,monospace" href="http://legal.ifae.es/" target="_blank">http://legal.ifae.es</a></span></font></span>