<div dir="ltr">Thanks so much, <a class="gmail-Oux49"><span>Ertugrul. I will consider this.</span></a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 28, 2019 at 1:13 PM Ertugrul DOGRULUK via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="overflow-wrap: break-word;">
Dear Carlos,  
<div>I do think your consumer apps set as a producer. Since there is nobody to consume that data packet, it turned out a NACK. This is my guess.
<div><br>
</div>
<div>
<div><br>
</div>
<div>
<div>
<div style="overflow-wrap: break-word;">
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Kindly Regards<br>
Ertugrul Dogruluk<br>
PhD Candidate <br>
Centro Algoritmi/ University of Minho-PORTUGAL<br>
<a href="http://algoritmi.uminho.pt/" target="_blank">http://algoritmi.uminho.pt/</a><br>
<br>
</div>
</div>
</div>
<div><br>
<blockquote type="cite">
<div><br>
</div>
<div>
<div><br>
Today's Topics:<br>
<br>
  1. nack duplicate problem (Carlos Borrego)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 24 Mar 2019 11:59:43 +0100<br>
From: Carlos Borrego <<a href="mailto:cborrego@deic.uab.es" target="_blank">cborrego@deic.uab.es</a>><br>
To: <a href="mailto:ndnsim@lists.cs.ucla.edu" target="_blank">ndnsim@lists.cs.ucla.edu</a><br>
Subject: [ndnSIM] nack duplicate problem<br>
Message-ID:<br>
<span class="gmail-m_8598027026408214750Apple-tab-span" style="white-space:pre-wrap"></span><<a href="mailto:CAEF0aKgUfHu-RDe-se0-3a72OJkbZh4KFjQmDEpH9WQ-u0uA8A@mail.gmail.com" target="_blank">CAEF0aKgUfHu-RDe-se0-3a72OJkbZh4KFjQmDEpH9WQ-u0uA8A@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello,<br>
<br>
I am trying to simulate a scenario using ndn. I have just one consumer<br>
(node 0) and one producer (node 2). The consumer sends an interest message<br>
to the network and apparently the interest message arrives at the producer<br>
(node(2) responding with Data...). My question is why whenever this Data<br>
message is received by the consumer I get the log:<br>
<br>
<br>
*+0.000729504s 0 ndn.Consumer:OnNack(): [INFO ] NACK received for:<br>
/prefix/%FE%00, reason: Duplicate*<br>
<br>
Here is the complete log, as you can see, there is no other activity before<br>
in the network:<br>
<br>
+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<br>
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<br>
Data: /prefix/%FE%00<br>
+0.000729504s 0 ndn.Consumer:OnNack(): [INFO ] NACK received for:<br>
/prefix/%FE%00, reason: Duplicate<br>
<br>
Shouldn't it be something like:<br>
<br>
+0.000729504s 0 ndn.Consumer:OnData(): [INFO ] < DATA for 0<br>
<br>
Thanks so much for helping me with this issue.<br>
Cheers<br>
Carlos<br>
-- <br>
--------------------------------------------------------------------------------------------------------<br>
<br>
*Carlos Borrego Iglesias *<br>
dEIC - Departament d'Enginyeria de la Informaci? i de les Comunicacions<br>
Universitat Aut?noma de Barcelona<br>
<a href="mailto:cborrego@deic.uab.es" target="_blank">mailto: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>
tel: +34 93 5814835<br>
---------------------------------------------------------------------------------------------------------<br>
Av?s - Aviso - Legal Notice - (LOPD) - <a href="http://legal.ifae.es" target="_blank">http://legal.ifae.es</a><br>
<br>
-- <br>
Av?s -<br>
Aviso - Legal Notice - (LOPD) - <a href="http://legal.ifae.es" target="_blank">http://legal.ifae.es</a> <br>
<<a href="http://legal.ifae.es/" target="_blank">http://legal.ifae.es/</a>><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20190324/615e0446/attachment-0001.html" target="_blank">http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20190324/615e0446/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br>
<br>
------------------------------<br>
<br>
End of ndnSIM Digest, Vol 76, Issue 21<br>
**************************************<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>

_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div><br clear="all"><br>-- <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>

<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>