| ndnpeek [-h] [-f] [-r] [-m min] [-M max] [-l lifetime] [-p] [-w timeout] name |
| ``ndnpeek`` is a simple consumer program that sends one Interest and expects one Data |
| packet in response. The full Data packet (in TLV format) is written to stdout. The |
| program terminates with return code 0 if Data arrives, and with return code 1 when timeout |
| ``name`` is interpreted as the Interest name. |
| If specified, set ``MustBeFresh`` selector in the Interest packet. |
| Set ``ChildSelector=1`` (the rightmost child) selector. |
| Set ``min`` as the ``MinSuffixComponents`` selector. |
| Set ``max`` as the ``MaxSuffixComponents`` selector. |
| Set ``lifetime`` (in milliseconds) as the ``InterestLifetime``. |
| If specified, print the received payload only, not the full packet. |
| Timeout after ``timeout`` milliseconds. |
| Send Interest for ``ndn:/app1/video`` and print the received payload only |
| ndnpeek -p ndn:/app1/video |