Files
ndn-tools/tools/peek
Davide Pesavento 242d5063f7 dissect+peek: avoid deprecated ndn-cxx functions
Change-Id: Ibd9f8ad30e315f537d1560db823372af3d58d713
2022-03-12 16:08:34 -05:00
..
2019-07-25 17:41:09 -04:00
2019-01-19 22:02:08 -05:00

ndnpeek and ndnpoke

ndnpeek and ndnpoke are a pair of programs to respectively request and serve a single Data packet.

  • ndnpeek is a consumer program that sends one Interest and expects one Data.
  • ndnpoke is a producer program that serves one Data in response to an Interest.

Usage example:

  1. start NFD
  2. execute echo 'HELLO WORLD' | ndnpoke /localhost/demo/hello
  3. in another terminal, execute ndnpeek -p /localhost/demo/hello

For more information, consult the manpages of these programs.