README and manpages for ndnping and ndnpingserver
refs #2818
Change-Id: I5ada2f4adbc234f0fdf11452560199df73a5314e
diff --git a/manpages/ndnpingserver.rst b/manpages/ndnpingserver.rst
new file mode 100644
index 0000000..da948d1
--- /dev/null
+++ b/manpages/ndnpingserver.rst
@@ -0,0 +1,53 @@
+ndnping
+=======
+
+Usage
+-----
+
+::
+
+ ndnpingserver [-h] [-V] [-x freshness] [-p satisfy] [-t] [-s size] prefix
+
+Description
+-----------
+
+``ndnpingserver`` listens for the specified Interest prefix and sends Data packets when an Interest
+under that prefix is received. Once ``ndnpingserver`` either reaches the specified total number of
+Interests to be satisfied or receives an interrupt signal, it prints the number of Data packets
+sent.
+
+``prefix`` is interpreted as the Interest prefix to listen for. The FreshnessPeriod of Data packets
+is set with the -x option (default 1000ms). The content is by default empty, but if a size is
+specified with the '-s' option, it contains the specified number of the letter "a". Finally, the
+Data is signed with an SHA256 digest.
+
+Options
+-------
+
+``-h``
+ Print help and exit.
+
+``-V``
+ Print version and exit.
+
+``-x``
+ Set freshness period in milliseconds (minimum 1000ms).
+
+``-p``
+ Set maximum number of pings to satisfy.
+
+``-t``
+ Prints a timestamp with received Data and timeouts.
+
+``-s``
+ Specify the size of the response payload.
+
+Examples
+--------
+
+Listen on ``ndn:/edu/arizona`` and response to at most 4 pings, printing timestamp on each received
+ping
+
+::
+
+ ndnpingserver -p 4 -t ndn:/edu/arizona
\ No newline at end of file