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

Steve DiBenedetto dibenede at cs.colostate.edu
Wed May 13 14:21:01 PDT 2015

Could you please share your code via https://gist.github.com (or something

What do you mean by the Interest is not picked up by NFD? Is the
Interesting coming into NFD, but not sent do the application's face? If you
aren't already, debug-level logs are useful for this time of problem.


On Wed, May 13, 2015 at 1:46 PM, Anil Jangam <anilj.mailing at gmail.com>

> In the producer example code (see below link), I have added a new thread
> to process some other input device.
> https://github.com/named-data/ndn-cxx/blob/master/examples/producer.cpp
> So, I am doing the following just before calling m_face.processEvents()
> function.
>     m_stopDataTracker = true;
>     m_dataThread = boost::thread(&Producer::trackData, this);
> Now, my situation is that this producer application is not able to receive
> any incoming Interests for some reason. I have done the following checks so
> far:
>    - m_face.setInterestFilter("/",...),I am registering for "/" just to
>    ensureproducer receives ALL the traffic.
>    - I have registered (into NFD) the name prefix in the remote node
>    (where consumer is running) pointing to the host where producer is running.
>    - I have also tested this setup using stand-alone producer and
>    consumer apps, ensuring that NFD configuration is fine.
> I am curious to know if this addition of application (producer) thread is
> causing anything here. I can see the Interest reaching on 'ndndump', but
> looks like it is not being picked up by NFD and hence not reaching the
> application.
> Is there any problem in my setup or this thread design?
> /anil.
> _______________________________________________
> Ndn-interest mailing list
> Ndn-interest at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20150513/5d3dc02e/attachment.html>

More information about the Ndn-interest mailing list