GithubHelp home page GithubHelp logo

oluwxtope / reliable-file-transfer-protocol Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 7 KB

Created a file transfer protocol that transfers data using UDP datagrams with a reliability implemented in the application layer

Python 100.00%

reliable-file-transfer-protocol's Introduction

Reliable File Transfer Protocol

How to Run Locally

  1. Open one terminal tab and navigate into the directory with the program files. This will run the receiver.py program
  2. Open another terminal tab and navigate into the directory with the program files. This will run the sender.py program
  3. On the terminal tab running the receiver program, run the receiver: python3 receiver.py
    The receivers input format is as follows: <UDP port number to receive packet> <drop probability> <name of the received file>

    Example: 9994 0.5 received.txt

  4. On the other terminal tab running the sender program, run the sender: python3 sender.py
    The senders input format is as follows: <host address of the receiver> <port number to used to send data> <port number to receive ACKs from the receiver> <timeout interval (milliseconds)> <name of the file to send>

    Example: localhost 9994 9992 50 send.txt

reliable-file-transfer-protocol's People

Contributors

oluwxtope avatar

Watchers

 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.