<div dir="ltr">Could you please share your code via <a href="https://gist.github.com">https://gist.github.com</a> (or something else?).<div><br></div><div>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.<br><div><br></div><div>-Steve</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 13, 2015 at 1:46 PM, Anil Jangam <span dir="ltr"><<a href="mailto:anilj.mailing@gmail.com" target="_blank">anilj.mailing@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">In the producer example code (see below link), I have added a new thread to process some other input device.<div><a href="https://github.com/named-data/ndn-cxx/blob/master/examples/producer.cpp" target="_blank">https://github.com/named-data/ndn-cxx/blob/master/examples/producer.cpp</a><br></div><div><br></div><div>So, I am doing the following just before calling m_face.processEvents() function. </div><div><br></div><div><div>    m_stopDataTracker = true;</div><div>    m_dataThread = boost::thread(&Producer::trackData, this);</div></div><div><br></div><div>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:</div><div><ul><li><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">m_face.</span><span style="color:rgb(0,134,179);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">setInterestFilter</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">(</span><span style="font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap"><span style="color:rgb(24,54,145)">"</span><font color="#183691">/</font><span><font color="#183691">",...</font><font color="#333333">),</font></span></span>I am registering for "/" just to ensureproducer receives ALL the traffic.<br></li><li>I have registered (into NFD) the name prefix in the remote node (where consumer is running) pointing to the host where producer is running. </li><li>I have also tested this setup using stand-alone producer and consumer apps, ensuring that NFD configuration is fine. </li></ul><div>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. </div></div><div><br></div><div>Is there any problem in my setup or this thread design?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>/anil.</div><div><br></div><div><br></div></font></span></div>
<br>_______________________________________________<br>
Ndn-interest mailing list<br>
<a href="mailto:Ndn-interest@lists.cs.ucla.edu">Ndn-interest@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a><br>
<br></blockquote></div><br></div>