named-data-iot / ndn-iot-package-over-posix

NDN IoT Package over POSIX with CMake
7 stars 9 forks source link

Is NFD supported on ndn-lite? #8

Closed Dearkano closed 4 years ago

yoursunny commented 4 years ago

Yes, an ndn-lite-POSIX app can connect to NFD via unix_face. Example: https://github.com/named-data-iot/ndn-iot-package-over-posix/blob/64f92b6557052fe6578e257d55accd14dcd31d7f/examples/nfd-basic-consumer.c

Dearkano commented 4 years ago

@yoursunny Thanks, but NFD now is based on ndn-cxx. How can NFD be installed without ndn-cxx, and then work with ndn-lite-POSIX?

yoursunny commented 4 years ago

How can NFD be installed without ndn-cxx

This is not possible. ndn-lite-POSIX is not a drop-in replacement of ndn-cxx.

On the other hand, ndn-lite provides a forwarder, so ndn-lite can partially replace NFD. However, ndn-lite forwarder is not fully complaint and only supports a subset of required forwarding features.