cosc635client's People
cosc635client's Issues
TODO - Alter UI for file upload and user number submission.
TODO - File upload and convert to byte array
Use File.toByteArray method to create byte[] for packet formation
TODO - Change packet Message field to byte[] instead of String
By changing Message field, we can convert file contents to byte[] outright and take partitioned chunks of bytes to submit as message contents, converting to String again only on output file write.
TODO - Add statistics metrics
Implement statistics such as transmission time, lots packets, etc. on client ends. Timing should begin on first packet received.
TODO - Implement random number evaluation for dropping packets.
Implement random number generation on sender (Client) to simulate packet loss by evaluating user submitted number against random number.
TODO - Partition data byte[] to fit packet limit.
Use Array.BlockCopy to partition array into fixed chunks using offset value.
TODO - Create wrapper functions for SAW and GBN
Need to create wrapper functions to encapsulate send methods of Client/Server to implement transmission protocols. Using these methods we can implement window control or simulate "re-transmission" of lost packets.
TODO - Change Client and Server files to create packets and send through a loop.
Need to implement loop within send functions to allow individual packets to be created for each byte[] chunk to be sent. Using this loop we can also increment fields such as sequence number.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.