Giter Club home page Giter Club logo

slidingwindow's Introduction

SlidingWindow

It is STOP AND WAIT Protocol in python. With minute changes you can use it for Selective Repeat and GO-Back N Protocol.

Author : Syed Alfran Ali

Used: Python 3 and pygame library

Instructions to run the python file:

For Windows:

	1) Install python:
		https://github.com/BurntSushi/nfldb/wiki/Python-&-pip-Windows-installation
	2) Install Pygame

For Linux:

	1) Use ./sliding_window.py in the current directory or chmod to change the permissions.

After running the sliding_window.py file :

Give the following parameters:

a) Sliding Window Size
b) Speed of packets transfer

To give these values simply click on the GUI Window's black block corresponding to the parameter , enter the value and than press enter. After pressing enter the value will be shown in the corresponding block. Do this both for sliding window size and speed. Or for default just click start button. Default window size = 4 and speed =4 The window would wrap around after visiting the entire screen. To stop the window stop hovering the mouse. Otherwise keep hovering after window finishes the ack. process. So to kill the process task manager has to be used to end process.

slidingwindow's People

Contributors

alfran007 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

jackysonglanlan

slidingwindow's Issues

Killing the Window

To kill the process task manager has to be opened and we have to manually kill the process.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.