Answer the question
In order to leave comments, you need to log in
What is the best way to implement a file uploader?
Hello. I'm trying to implement a fast P2P file uploader in C++ for Windows.
At first I tried it on libtorrent (rastebar), but it does not cope well with web-seed and gives out only 1-2 mb / s at an Internet speed of 10-11 mb / s. At the same time, P2P works well there, there is a connection with all peers. But even with this in mind, reaching maximum speed is quite rare and does not last long. In addition, torrent does not work correctly for 100% of users, so web-seed is very important.
Then I switched to aria2. It is the complete opposite situation. In torrent downloads, web-seed works fine, gives out all 11 mb / sec, but refuses to connect to other peers (which are also via aria2). This is probably due to the fact that there is no support for UPnP and NAT-PMP. Enabling IPv6 helped a little, a connection appeared with 1 out of 10 peers. But this is still very little.
What other options can you try?
Answer the question
In order to leave comments, you need to log in
WebRTC?
https://github.com/EricssonResearch/OpenWebRTC
https://webrtc.googlesource.com/src
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question