<div dir="ltr">Hi Amir<div><br></div><div>This behavior is by design.</div><div><br></div><div>An Interest with MustBeFresh can only be satisfied by a Data with non-zero FreshnessPeriod.</div><div>When FreshnessPeriod is omitted, it is equivalent to being set to zero.</div><div><br></div><div>Yours, Junxiao</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 8, 2022 at 12:29 PM Esmaeili, Amir (Student) <<a href="mailto:ae3wc@umsl.edu">ae3wc@umsl.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 dir="ltr"><p style="text-align:center"><font color="red"><strong>External Email</strong><br></font></p>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hi</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I want to make an experiment that focuses on must-be-fresh tag. For this aim I do the following steps:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<ol>
<li><span>First of all, my simulation is dedicated to window-based consumers, and for enabling must-be-fresh tag in Interenst requests I edited ndn-consumer.cpp SendPacket() function, and added this code: interest->setMustBeFresh(true);</span></li><li><span>Then, I started the simulation, unfortunately, after 1 second consumers stop sending interest.</span></li><li><span>I found If I set a none zero value to the ndn::Producer::Freshness parameter that normally is zero, the problem will solve, and consumers continue sending requests. </span></li></ol>
<div><span>Could you please tell me whether I correctly enabled the must-be-fresh tag or not?</span></div>
<div><span>Sincerely.</span></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="https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div>