Giter VIP home page Giter VIP logo

hhzhang333 / rudp-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tetram100/rudp

0.0 0.0 0.0 0 B

This is a simple implementation of the RUDP protocol in C. RUDP is a protocol just in top of UDP that makes it reliable. It supports sliding window flow control, ARQ-based packet retransmission and reordering of packets that arrive out of order.

Makefile 0.89% C 78.29% Python 20.83%

rudp-1's Introduction

RUDP

This is a simple implementation of the RUDP protocol for the IK2213 course. RUDP is a protocol just in top of UDP that makes it reliable. It supports sliding window flow control, ARQ-based packet retransmission and reordering of packets that arrive out of order. The program is composed of an event handler calling the RUDP functions.

How to compile

Just run "make" in order to compile the program. You can change the compilation by editing the makefile

How to configure

Parameters are availalbe in the file rudp.h. You can change the version of RUDP used, the maximal size of a packet, the maximal number of retransmit, the timeout for the retransmission and the size of the sliding window which is the maximal number of unacknowledged packets that can be sent to the network.

How to use

You can use the simple applications vs_send and vs_recv that send and receive a file using RUDP.

On the receiver side: ./vs_recv -d port

On the sender side: ./vs_send -d address:port file

You can write other applications with RUDP using the fonctions define in the rudp_api.h file.

rudp-1's People

Contributors

tetram100 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.