Giter VIP home page Giter VIP logo

tcp_implementation's Introduction

TCP implementation

Codacy Badge License

project2-Teona-Sam

Project II (Task I): Transmission Control Protocol (TCP) This TCP implementation uses congestion control and ss Threshold to model the transmission control that happens in TCP over internet connections.

Sample Congestion window graph.

Requirements

mininet VM. Can be built from source or a pre-built Mininet VM can be downloaded at http://mininet.org/download/.

How to Build

Use the make file in the src directory to build the executable files.

mininet@mininet-vm:~$ make

Run mininet

Start the mininet servers ith different parameters for bandwidth, delay and loss proportions.

sudo mn --link tc,bw=10,delay=10ms,loss=2

mininet> xterm h1 h2

Two terminal will popup for h1 and h2; Run sender and receiver on these two terminal

Terminal node h1:

rdt_receiver <Port num i.e. 60001> <rcv_file_name>

Terminal node h2:

rdt_sender 10.0.0.1  <Same Port num as receiver i.e. 60001> <send_file_name.bin>

Verify the two files are the same and generate a congestion window graph

The Grapher.py script uses the CND.csv file generated by the rdt_sender file.

cksum <rcv_file_name> <send_file_name.bin>
python3 Grapher.py

tcp_implementation's People

Contributors

imgbotapp avatar samsamhuns avatar teki13 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.