blob: 5c6fb3520c48ba8fecb9a41d91a0b3358804b5e0 [file] [log] [blame] [view]
Junxiao Shi6877add2015-06-06 07:52:20 -07001# ndnpeek and ndnpoke
2
3**ndnpeek** and **ndnpoke** are a pair of programs to request and make available for retrieval of a single Data packet.
4
5* **ndnpeek** is a consumer program that sends one Interest and expects one Data.
6* **ndnpoke** is a producer program that serves one Data in response to an Interest.
7
8Usage example:
9
101. start NFD on local machine
112. execute `echo 'HELLO WORLD' | ndnpoke ndn:/localhost/demo/hello`
123. on another console, execute `ndnpeek -p ndn:/localhost/demo/hello`
13
14For more information, consult manpages of these programs.