Do not break the loop after activating one client. Keep activating clients that can be redirected. If no redirection is found, then start direct download for this client (only one) but keep looping for clients that can be redirected. |
||
---|---|---|
src | ||
tests | ||
.gitignore | ||
Makefile.am | ||
README | ||
configure.ac |
README
1) Compile: make 2) Run (serving files in the local folder): ./tiptorrent 3) Generate test file dd if=/dev/random of=TEST ... ctrl-c whenever you like ... md5sum TEST 4) Test (on a different terminal) wget http://localhost:9999/TEST Now check that downloaded file is the same: md5sum TEST