[Ndn-interest] Producer not receiving Interest, when starts a new thread.

Anil Jangam anilj.mailing at gmail.com
Wed May 13 16:04:02 PDT 2015


Actually it worked!! I just introduced a explicit delay between
m_face.setInterestFilter("/", ...) call sending the initial Interest from
P. So now, it is receiving both the Data and the following Interest. So
looks like, we need to wait till registration of the filter is successful.
Let me also implement the onSuccess() method, and then we won't have this


On Wed, May 13, 2015 at 3:28 PM, Steve DiBenedetto <
dibenede at cs.colostate.edu> wrote:

> The face status output says that P's face (291) has received 2 interests
> (I'm guessing you tried twice before running nfd-status?).
> Looking at your code, I'm wondering if there's a race going on.
> Specifically, you try to setup the "/" filter and send the Interest.
> However, I don't believe either of these things happens, (and the face
> doesn't even connect), until face.processEvents() is called. Maybe C's
> Interest is arriving before the prefix registration finishes?
> Could you please collect the debug-level logs from P's NFD? I'd like to
> see what exactly is happening to the Interest.
> On Wed, May 13, 2015 at 3:57 PM, Anil Jangam <anilj.mailing at gmail.com>
> wrote:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20150513/57c882b8/attachment.html>

More information about the Ndn-interest mailing list