<div dir="ltr"><div><div><div><div><div>Hi Junxiao,<br><br>Actually I am surprised when you said: <i>'jndn currently supports localhost prefix registration only.'</i><br><br></div><div>So, how can I implement the clients to do prefix registration and sharing the files between each other? <br></div><div>Is there any solution to let external/non-local machines to make the registration?<br></div><div>On the other hand, does the same happend for express Interest too?<br></div><div><br></div><div>Please advice.<br><br></div><div>Best Regards,<br></div><div>Bassem Labib<br></div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 25, 2015 at 5:16 PM, Junxiao Shi <span dir="ltr"><<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p dir="ltr">Hi Bassem</p>
<p dir="ltr">jndn currently supports localhost prefix registration only.<br>
NFD treats loopback address as localhost. 192.168.1.9 is not a loopback address despite that it's on same machine.<br>
A localhost registration, when sent to a non-local face, will be silently rejected.</p>
<p dir="ltr">It's intentional for NFD to interpret non-loopback address of same machine as non-local, <span style="background-color:rgb(255,255,0)">otherwise proxy app for new socket type or wire format won't be able to create a non-local face without requiring a separate machine.</span></p>
<p dir="ltr">Yours, Junxiao</p>
<div class="gmail_quote"><div><div class="h5">On Feb 25, 2015 8:06 AM, "Bassem Labib" <<a href="mailto:bassem.labib@gmail.com" target="_blank">bassem.labib@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>Hi Jeff,<br><br></div>While I'm testing the jndn to register a Prefix using <u><i>TestPublishAsyncNfd.java</i></u> under <u><i>test</i></u> package, It works fine and register the "/testecho" prefix successfully only when using the default host Face or using "localhost" and loop back address "127.0.0.1", <b>but</b> when using the IP address assigned to the same machine as "192.168.1.9"<b> it didn't work (Timeout)</b> and I notes it registers on <b>NDNx</b> and print out the following:<br><br>Register prefix  /testecho<br><span style="color:rgb(255,0,0)">Feb 25, 2015 4:40:45 PM net.named_data.jndn.Node$RegisterResponse onTimeout<br>INFO: Timeout for NFD register prefix command. <span style="background-color:rgb(255,255,0)">Attempting an NDNx command...</span><br>Feb 25, 2015 4:40:49 PM net.named_data.jndn.Node$NdndIdFetcher onTimeout<br>INFO: Register prefix failed: Timeout fetching the NDNx ID</span><br>Register failed for prefix /testecho<br><br></div>please help, I need an explain this situation.<br> <div class="gmail_extra">Best Regards,<br></div><div class="gmail_extra">Bassem Labib<br></div><div class="gmail_extra"><br></div></div>
<br></div></div>_______________________________________________<br>
Ndn-interest mailing list<br>
<a href="mailto:Ndn-interest@lists.cs.ucla.edu" target="_blank">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>
</blockquote></div><br></div></div></div></div></div></div></div></div></div>