Short example of how to implement Python's async from scratchw
Clone or download
Latest commit 526cb18 Oct 9, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Sep 9, 2017
LICENSE Initial commit Sep 9, 2017 Update Oct 9, 2017 docs, and commmand line Sep 16, 2017 prime generator Sep 16, 2017


Asynchronous Telnet Chat Server

This is an example of using Python's async and await keywords without the use of asyncio or other framework. Requires Python3.6.

Run the server with the following:


Then connect with telnet as follows:

telnet 2323

If you open multiple connections you will be able to send chat messages between clients.

If you want to run the server on the internet, launch as follows:

sudo python3.6 23

Then you can connect with

telnet <your ip>