Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upUDP only #1463
Closed
UDP only #1463
Comments
This comment has been minimized.
This comment has been minimized.
|
I may be wrong, but I think bittorrent always uses TCP for actually downloading pieces and metadata from peers. UDP is used for the DHT and for udp trackers though. I think the reliability of TCP is worth the overhead in this case though, because the order of packets is very important for large files. Maybe https://www.npmjs.com/package/scuttlebutt would be better for you? |
This comment has been minimized.
This comment has been minimized.
|
Thanks... did some research which confirms that YES BitTorrent downloads over TCP... I also found uTP but that sucks beyond the word itself... so many issue around it. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there a way to let webtorrent (Node.js) communicate over UDP only (in literally everything)? All clients will definitely be Node.js clients (no Browsers).