Junxiao Shi | 6877add | 2015-06-06 07:52:20 -0700 | [diff] [blame] | 1 | # 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 | |
| 8 | Usage example: |
| 9 | |
| 10 | 1. start NFD on local machine |
| 11 | 2. execute `echo 'HELLO WORLD' | ndnpoke ndn:/localhost/demo/hello` |
| 12 | 3. on another console, execute `ndnpeek -p ndn:/localhost/demo/hello` |
| 13 | |
| 14 | For more information, consult manpages of these programs. |