For consistency with ndnpingserver and ndnputchunks Change-Id: I82afc6de29e207d65bf885b0acbabfc9da05a5a7
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:
- start NFD
- execute
echo 'HELLO WORLD' | ndnpoke /localhost/demo/hello - in another terminal, execute
ndnpeek -p /localhost/demo/hello
For more information, consult the manpages of these programs.