[Ndn-interest] [jndn] Remote prefix registration (#6)
jefft0 at remap.UCLA.EDU
Wed Feb 25 08:39:07 PST 2015
An API for remote prefix registration om iNDN is being discussed at this Redmine issue:
From: Bassem Labib <bassem.labib at gmail.com<mailto:bassem.labib at gmail.com>>
Date: Wednesday, February 25, 2015 at 8:26
To: Junxiao Shi <shijunxiao at email.arizona.edu<mailto:shijunxiao at email.arizona.edu>>
Cc: "ndn-interest at lists.cs.ucla.edu<mailto:ndn-interest at lists.cs.ucla.edu>" <ndn-interest at lists.cs.ucla.edu<mailto:ndn-interest at lists.cs.ucla.edu>>
Subject: Re: [Ndn-interest] [jndn] Remote prefix registration (#6)
Actually I am surprised when you said: 'jndn currently supports localhost prefix registration only.'
So, how can I implement the clients to do prefix registration and sharing the files between each other?
Is there any solution to let external/non-local machines to make the registration?
On the other hand, does the same happend for express Interest too?
On Wed, Feb 25, 2015 at 5:16 PM, Junxiao Shi <shijunxiao at email.arizona.edu<mailto:shijunxiao at email.arizona.edu>> wrote:
jndn currently supports localhost prefix registration only.
NFD treats loopback address as localhost. 192.168.1.9 is not a loopback address despite that it's on same machine.
A localhost registration, when sent to a non-local face, will be silently rejected.
It's intentional for NFD to interpret non-loopback address of same machine as non-local, 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.
On Feb 25, 2015 8:06 AM, "Bassem Labib" <bassem.labib at gmail.com<mailto:bassem.labib at gmail.com>> wrote:
While I'm testing the jndn to register a Prefix using TestPublishAsyncNfd.java under test 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", but when using the IP address assigned to the same machine as "192.168.1.9" it didn't work (Timeout) and I notes it registers on NDNx and print out the following:
Register prefix /testecho
Feb 25, 2015 4:40:45 PM net.named_data.jndn.Node$RegisterResponse onTimeout
INFO: Timeout for NFD register prefix command. Attempting an NDNx command...
Feb 25, 2015 4:40:49 PM net.named_data.jndn.Node$NdndIdFetcher onTimeout
INFO: Register prefix failed: Timeout fetching the NDNx ID
Register failed for prefix /testecho
please help, I need an explain this situation.
Ndn-interest mailing list
Ndn-interest at lists.cs.ucla.edu<mailto:Ndn-interest at lists.cs.ucla.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ndn-interest