tree: 0b5bc8e09d32265e62782261c0ad4d56e0de54cd [path history] [tgz]
  1. ndn-peek.cpp
  2. ndn-poke.cpp
  3. README.md
  4. wscript
tools/peek/README.md

ndnpeek and ndnpoke

ndnpeek and ndnpoke are a pair of programs to request and make available for retrieval of 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 on local machine
  2. execute echo 'HELLO WORLD' | ndnpoke ndn:/localhost/demo/hello
  3. on another console, execute ndnpeek -p ndn:/localhost/demo/hello

For more information, consult manpages of these programs.