Files
ndn-tools/tools/peek
Davide Pesavento 7e9d7e4f9a Switch to Face::getIoContext()
Change-Id: Ice05b0b8e9af4ed4651abcf6fc4ea6b84c34da7c
2023-11-11 15:00:03 -05:00
..
2023-11-11 15:00:03 -05:00
2023-11-11 15:00:03 -05: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. run echo 'HELLO WORLD' | ndnpoke /localhost/demo/hello
  3. in another terminal, run ndnpeek -p /localhost/demo/hello

For more information on these programs, consult their respective manpages.