Giter VIP home page Giter VIP logo

subangkar / reliable-data-transfer-protocols-cpp-implementation Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 289 KB

Reliable Transport Protocols (RDT3.0) alternating-bit-protocol (abp) and go-back-n (gbn) c++ implementation

CMake 0.37% C 19.15% C++ 80.47%
rdt rdt-3 abp alternating-bit-protocol go-back-n network-simulation gbn reliable-data-transfer reliable-protocol sliding-window-protocol

reliable-data-transfer-protocols-cpp-implementation's Introduction

Reliable Data Transfer Protocol implementation in C++ using modified ALTERNATING BIT AND GO-BACK-N NETWORK EMULATOR FROM VERSION 1.1 of J.F.Kurose as an assignment of Computer Networking Lab in Level-3, Term-2 of BUET.

In this assignment sender and receiver implemented for two versions of RDT3.0 are implemented for only simplex data transfer:

  • Alternating-bit protocol (ABP)
  • Go-Back-N (GBN) with finite sequence numbers [0,7].

Additional Implementation:

  • separate timers used for each packet in sender's window.
  • another modified version of go-back-n is implemented which sends cumulative ack after certain timeout unlike normal gbn.

Detailed specifications can be found at "offline_specification.pdf" in folder "Assignment-Specifications".

Simulation:

  • compile and run rdt_abp.cpp to simulate Alternating-bit protocol.
  • compile and run rdt_gbn.cpp to simulate Go-Back-N protocol.
  • compile and run rdt_gbn_cumulative_ack.cpp to simulate Go-Back-N protocol with modified receiver.

This repo has been worked in CLion project and that's why CMakeLists.txt exists here.

reliable-data-transfer-protocols-cpp-implementation's People

Contributors

subangkar avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

manjushanair

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.