T

tokio-telnet-server

A telnet server written using Rust and Tokio

Name Last Update
src Loading commit data...
.gitignore Loading commit data...
Cargo.lock Loading commit data...
Cargo.toml Loading commit data...
LICENSE Loading commit data...
README.rst Loading commit data...

Tokio telnet server

A simple telnet server written using the Tokio echo tutorial.

Improvements added that were outside of the tutorial scope:

  • Support for \r\n endlines instead of \n
  • Added a delay before response using futures composition

Usage

Example session using telnet:

$ telnet localhost 12345
Trying ::1...
Connection failed: Connexion refusée
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
hello
wat?
time
hello
^C
Connection closed by foreign host.