This is a demonstration of how you could implement your own simple protocol over TCP.
The goal of the code is primarily educational although such implementation has been successfully used in production.
Note: Using Python 3.5+.
- Install virtualenv & dependencies
$ virtualenv venv -p python3 # create virtual environment
$ source venv/bin/activate # activate virtual environment
$ pip install -r requirements.txt # install requirements
- Run server
$ python real_time/server.py
- Run client
$ python real_time/client.py
Presented by databrawl.com