<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I am not sure I understand what you meant about “flooding an Interest”. How exactly an Interest will be forwarded has to do with the forwarding strategy, which is on an entirely different layer than the application.<div class=""><br class=""></div><div class=""><div class="">In any case, yes, the consumer maintains some sort of list of sent Interests. You can take a look at the base class consumer code:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-consumer.hpp" class="">https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-consumer.hpp</a></div><div class=""><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-consumer.cpp" class="">https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-consumer.cpp</a></div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On May 21, 2018, at 10:38 AM, Mudasir Qazi <<a href="mailto:mudasirqazi00@gmail.com" class="">mudasirqazi00@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">So the consumer keeps a list of unsatisfied interests? and next time it is flooding an interest it will first look into this list, if any interest is pending then it will be flooded first?<br class=""></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Mon, 21 May 2018 at 22:35, Spyridon (Spyros) Mastorakis <<a href="mailto:mastorakis@cs.ucla.edu" class="">mastorakis@cs.ucla.edu</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi Mudasir,<div class=""><br class=""></div><div class="">the default mechanism for recovering lost packets has been implemented on the consumer-end, and is based on RTT estimations. The consumer estimates the RTT to the producer, if a data packet is not received within this amount of time, then the consumer will retransmit.</div><div class=""><br class=""></div><div class="">There is another mechanism that can is performed on layer 2 by NFD, which is a hop-by-hop best effort loss recovery scheme and has to be separately enabled in the simulations.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""><div class="">
<div class=""><div class=""><div class=""><span style="float:none;display:inline!important" class="">Spyridon (Spyros) Mastorakis</span><br class=""><span style="float:none;display:inline!important" class="">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span style="float:none;display:inline!important" class="">Internet Research Laboratory</span><br class=""><span style="float:none;display:inline!important" class="">Computer Science Department</span><br class=""><span style="float:none;display:inline!important" class="">UCLA</span></div><div class=""><span style="float:none;display:inline!important" class=""><br class=""></span></div></div></div><div class=""><br class=""></div><br class="m_-1062338922621973456Apple-interchange-newline">
</div>
<br class=""><div class=""><blockquote type="cite" class=""><div class="">On May 21, 2018, at 10:14 AM, Mudasir Qazi <<a href="mailto:mudasirqazi00@gmail.com" target="_blank" class="">mudasirqazi00@gmail.com</a>> wrote:</div><br class="m_-1062338922621973456Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi,</div><div class=""><br class=""></div><div class="">I have a general question about the recovery of a lost packet in ndnSIM 2.3. Let's say, we have a consumer (ndn-consumer.cpp) which has requested packets ( '/prefix/%FE%00', '/prefix/%FE%01' and '/prefix/%FE%02' ) in a sequence. The producer (ndn-producer.cpp) replied with the data packets. Let's say some how, data reply of '/prefix/%FE%01' is lost and never received at consumer. How the consumer will get those lost data packets? Would it send request for next packet i.e.,  '/prefix/%FE%03' or it will send request of  '/prefix/%FE%01' again? What phenomenon is used in ndnSIM 2.3.</div><div class=""><br class=""></div><div class="">(please answer with the code file name and methods which are called to recover a lost packet)<br class=""></div><div class=""><br class="">-- <br class=""><div dir="ltr" class="m_-1062338922621973456gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><span style="font-family:georgia,serif" class="">Regards,<br class=""></span></div><div class=""><span style="font-family:georgia,serif" class="">Mudasir Qazi<br class=""></span></div></div></div></div></div></div></div></div></div></div></div></div></blockquote></div><br class=""></div></div></blockquote></div><br clear="all" class=""><br class="">-- <br class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><span style="font-family:georgia,serif" class="">Regards,<br class=""></span></div><div class=""><span style="font-family:georgia,serif" class="">Mudasir Qazi<br class=""></span></div></div></div></div></div></div></div></div></div>
</div></blockquote></div><br class=""></div></div></body></html>