Project

General

Profile

Bug #4575

fail to register prefix with NFD-android using NDN-DOT-NET library

Added by Yanbiao Li over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Start date:
04/10/2018
Due date:
% Done:

0%

Estimated time:

Description

we were trying to register a prefix from the APP (built on top of NDN-NOT-NET) to NFD-Android, but it failed.
But it succeeded to register the same prefix with a remote NFD.

Finally, we figured out that the reason why it fails with NFD-Andorid is: the command Interest is always started from /localhop/nfd and NFD-Andorid does not enable /localhop handler by default.
We created a TCP connection (using 127.0.0.1 as the address) between the APP and NFD-andorid, it should hit, after checking isLocal(), the branch which adopts /localhost/nfd prefix but it didn't.

Is there any issue with the isLocal() check?

Also available in: Atom PDF