Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UDP only #1463

Closed
ohenepee opened this issue Aug 8, 2018 · 2 comments
Closed

UDP only #1463

ohenepee opened this issue Aug 8, 2018 · 2 comments

Comments

@ohenepee
Copy link

@ohenepee ohenepee commented Aug 8, 2018

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).

@KayleePop

This comment has been minimized.

Copy link
Contributor

@KayleePop KayleePop commented Aug 11, 2018

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?

@ohenepee

This comment has been minimized.

Copy link
Author

@ohenepee ohenepee commented Aug 11, 2018

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.

@ohenepee ohenepee closed this Aug 11, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Nov 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.