blob: 79e9832254f7fcdf9e5995b4f42fbdbe2c3083a1 [file] [log] [blame] [view]
Junxiao Shi6877add2015-06-06 07:52:20 -07001# ndnpeek and ndnpoke
2
Davide Pesaventoe75861e2019-07-24 21:55:39 -04003**ndnpeek** and **ndnpoke** are a pair of programs to respectively request and serve a single Data packet.
Junxiao Shi6877add2015-06-06 07:52:20 -07004
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
Davide Pesaventoe75861e2019-07-24 21:55:39 -0400101. start NFD
112. execute `echo 'HELLO WORLD' | ndnpoke /localhost/demo/hello`
123. in another terminal, execute `ndnpeek -p /localhost/demo/hello`
Junxiao Shi6877add2015-06-06 07:52:20 -070013
Davide Pesaventoe75861e2019-07-24 21:55:39 -040014For more information, consult the manpages of these programs.