<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body><div><div style="font-family: Calibri,sans-serif; font-size: 11pt;">Hi Bassem<br><br>To create a file transfer app between two laptops without a third router:<br><br>1. both laptops need NFD running<br>2. on laptopA, write a producer app that does local prefix registration<br>3. on laptopB, use nfdc command line or NFD Management protocol to create a face toward laptopA, and register a prefix using local prefix registration with that face as nexthop<br>4. on laptopB, write a consumer app that expresses Interests for the prefix<br><br>Remote prefix registration isn't needed in this solution.<br><br>Yours, Junxiao</div></div><div dir="ltr"><hr><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">From: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:bassem.labib@gmail.com">Bassem Labib</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Sent: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">‎2/‎25/‎2015 9:27</span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">To: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:shijunxiao@email.arizona.edu">Junxiao Shi</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Cc: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:ndn-interest@lists.cs.ucla.edu">ndn-interest@lists.cs.ucla.edu</a>; <a href="mailto:jburke@remap.ucla.edu">Jeff Burke</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Subject: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">Re: [Ndn-interest] [jndn] Remote prefix registration (#6)</span><br><br></div><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; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"><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; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"><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>
</body></html>