[ndnSIM] must-be-fresh problem
Esmaeili, Amir (Student)
ae3wc at umsl.edu
Fri Jul 8 09:29:06 PDT 2022
Hi
I want to make an experiment that focuses on must-be-fresh tag. For this aim I do the following steps:
1. 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);
2. Then, I started the simulation, unfortunately, after 1 second consumers stop sending interest.
3. 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.
Could you please tell me whether I correctly enabled the must-be-fresh tag or not?
Sincerely.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20220708/00a65f3b/attachment.html>
More information about the ndnSIM
mailing list