Add a multithreaded echo server example

This commit is contained in:
Alex Crichton
2017-09-10 08:54:35 -07:00
parent 645ae7051d
commit 7b94cf307d
3 changed files with 102 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
//! An "hello world" echo server with tokio-core
//! A "hello world" echo server with tokio-core
//!
//! This server will create a TCP listener, accept connections in a loop, and
//! simply write back everything that's read off of each TCP connection. Each