Sliding Window Protocols
Tech Involved - Python, Flask-SocketIO, heroku
Checkout the github repo - github.com/jatin69/sliding-window-protocols
Standard Sliding Window Protocols Protocols using flask socketIO
Demo
Checkout the deployed app here
How to run
- git clone the repo and navigate to directory
- make sure you have pipenv installed, or run
brew install pipenv - type
pipenv shellto activate the virtual environment - install requirements from
requirements.txtor pip lock file - run
python app.pyand navigate tolocalhost:5000in browser - disable debugging in
app.pyif you don’t want messages in terminal - The
masterbranch contains merged app - If you’re interested in separate app for all three protocols, visit the individual-release branch
How to deploy
- refer heroku docs for more info
git add .to stage everythinggit statusto verifygit commit -m "Committing changes"git pushheroku loginheroku create <unique-app-name>git push heroku masterheroku ps:scale web=1to scale a dynoheroku opento see the app
Screenshots
Welcome Page

Stop and Wait

Go Back N

Selective Repeat
