<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">what you said more or less is correct. The reason that this is happening is because we have to register a route to the RIB through the application face first before expressing any Interests. Since this registration needs some simulation time to be completed, we make sure that the consumer application starts sending out Interests after the prefix registration process is done.</div><div class=""><br class=""></div><div class="">Hope that this helps,</div><div class=""><br 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 class=""><br class=""></div></div></div></div><div><blockquote type="cite" class=""><div class="">On Nov 14, 2017, at 8:34 AM, Xinyu Ma <<a href="mailto:bitmxy@gmail.com" class="">bitmxy@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class="">Hello, everyone<br class=""><br class=""></div>I tried to start a cxx application in a node just like ndn-cxx-simple.cpp does. I have noticed that I must set the start time to a value greater than zero, or the function setInterestFilter will fail for "TimeOut". But ndn.Producer can register the prefix as soon as possible (when it starts at 0 second). And I found that when I use scheduleEvent to setup an event for setInterestFilter, it will succeed no matter if the start time is 0 or not.</div><div class="">In order to add an entry to FIB, I think, the interest packet containing command must arrive at the internal face. They use different ways to do it: The ndn.Producer directly injects a AddNextHop command of FIB into the internal face; However, the cxx application tries to send a RegisterRoute command of RIB by the application face. I guess this makes the difference. But I still don't know why the cxx way doesn't work at 0 second.<br class=""></div>Could anyone give me some hint, please?<br class=""><br class=""></div>Thanks,<br class=""></div>Xinyu Ma.<br class=""></div></div></blockquote></div><br class=""></div></body></html>