blob: 02e6fb18323c0af54f495288d2bae90195812a4b [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
Davide Pesaventodb9613e2023-01-20 20:52:21 -0500112. run `echo 'HELLO WORLD' | ndnpoke /localhost/demo/hello`
123. in another terminal, run `ndnpeek -p /localhost/demo/hello`
Junxiao Shi6877add2015-06-06 07:52:20 -070013
Davide Pesaventodb9613e2023-01-20 20:52:21 -050014For more information on these programs, consult their respective manpages.