pksingh21 / go-n-back-arq- Goto Github PK
View Code? Open in Web Editor NEWimplementation of go-n-back ARQ protocol in C with both random error generator and client and server code
implementation of go-n-back ARQ protocol in C with both random error generator and client and server code
server.c and client.c - implementation of go-back-n ARQ in C by Prateek Kumar Singh <[email protected]> Server.c implements a reliable data transfer over TCP in C client.c implements a reliable data transfer client over TCP in C Both of these programs use the go-back-n ARQ, that is lost data is automatically resent. These programs are hardcoded to transfer 8192 bytes of data in any chunksize from 1 to 512 bytes per packet to compile: gcc -o server server.c gcc -o client client.c to run: first run the server. Usage is: "./server <PORT> <CHUNKSIZE> [<LOSS RATE>]" for example: "./server 1655 500 .50" will start a server on port 1655, with chunk size of 500 bytes and 50% loss rate. Loss Rate is an optional argument and does not have to be used Once the server is running, run the client. Usage is: "./client <SERVER IP> <SERVER PORT> <CHUNK SIZE> <WINDOW SIZE>" so for example: "./client 10.10.10.5 1234 500 3" will instruct the client to connect to the server at 10.10.10.5 on port 1234 and send 3 chunks at a time of 500 bytes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.