Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 707 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 707 Bytes

Real-Time TCP

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+.

Running example

  • 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