Coder Social home page Coder Social logo

udp-file-transfer's Introduction

nets-udp-file-transfer

General description

Implement a stop-and-wait file transfer protocol of your own design that utilizes UDP as its transport.

Undergraduates: only need to implement "get"

Client syntax: get filename

Graduate students: must implement both "get" and "put"

Client syntax:

  • get filename
  • put filename

Requirements:

  • Your server should be a separate program from the client.
  • Your protocol can only send messages of length no longer than 100 bytes
  • Teams are permitted: Up to two students. Each must be responsible for implementing and documenting either the client or server.
  • Your implementation must be able to successfully transfer large binary files (at least 1MB) even when the UDP proxy delays and drops some of the datagrams.
  • The client and server should do "something reasonable" when the protocol is unable to successfully transfer a file.
  • Your implimentation should indicate relevant stats such as measured RTT and throughput.
  • Your report should
  • describe the prototcol
  • indicate and analyze its performance for each of the following proxy configurations (scripts are in the proxy subdir):
Script Throughput PropDelay QueueCap pDrop pDelay
p1.sh 10,000 B/s 0.05s 3 0.0 0.0
p2.sh 10,000 B/s 0.05s 3 0.1 0.0
p1.sh 10,000 B/s 0.05s 3 0.0 0.1

Part 1: Stop and Wait

Your solution should be in the stopWait subdir and implement a stop and wait protocol. Your client should be in its client subdir. Your server should be in its server subdir. Each should be documented (an empty README is provided).

Part 2: Sliding window

Your solution should be in the sliding subdir. Your client should be in its client subdir. Your server should be in its server subdir. Each should be documented (an empty README is provided).

UDP Proxy

A UDP Proxy and demo udp client & server are in the proxy subdir.

udp-file-transfer's People

Contributors

abgomez avatar robustutep avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

victor-fdez

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.