summaryrefslogtreecommitdiffstats
path: root/examples/README.md
diff options
context:
space:
mode:
authorRoman <humbug@deeptown.org>2018-04-10 23:08:55 +0300
committerCarl Lerche <me@carllerche.com>2018-04-10 13:08:55 -0700
commit5b677934fe6cfd3030c533c1e937615c158f04b1 (patch)
treeb356a6bd23e48dc1a87041efbc0109272899cd4d /examples/README.md
parentdbcd8353b05002a98ea77dc2227ffeb84f0fd466 (diff)
Add example that prints each packet from tcp client (#301)
Diffstat (limited to 'examples/README.md')
-rw-r--r--examples/README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/README.md b/examples/README.md
index cd3c0ba3..19f33ff6 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -19,6 +19,10 @@ A high level description of each example is:
connections and then echos back any contents that are read from each connected
client.
+* [`print_each_packet`](print_each_packet.rs) - this server will create a TCP
+ listener, accept connections in a loop, and put down in the stdout everything
+ that's read off of each TCP connection.
+
* [`echo-udp`](echo-udp.rs) - again your standard "echo server", except for UDP
instead of TCP. This will echo back any packets received to the original
sender.