dippi9845 / fft Goto Github PK
View Code? Open in Web Editor NEWFreaky File Transfer, an UDP file transfer written in python
License: MIT License
Freaky File Transfer, an UDP file transfer written in python
License: MIT License
This class can read a temporary file that is interrupted the download and find the last number of block written.
The class splits the file in block of defined dimension.
now for every block create an checksum, and send it to the server, if is correct go to the next block
if is incorrect request the block to the server and replace it to the file.
The class splits the file in block of defined dimension.
now for every block create an checksum, the same the server, then the client request the list of checksum
and try to deduce the missing blocks and the position, then the client request only the missing blocks
and place it in the correct position.
In theory is the most probably case, couse the previos two solutions works even for a block loss, but this don't
but on the other hand is much more faster:
there futher to say, the last block is high probably that has a wrong checksum, couse the interruption of downlaod
doesn't coincide with the end of the block (probability 1/block_size tipically 1/1024 that is less than 0.1%) so the last checksum is different coused by the difference of length of the last block, so replace the block
change protocl of trasfission of file, this one is too slow
Make a way to store temporary file during download , then afert download compleated i will be named as the choosen file
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.