Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Clarify whether the sockets are UDP or TCP? #4

Open
CMCDragonkai opened this issue Oct 20, 2021 · 1 comment
Open

Clarify whether the sockets are UDP or TCP? #4

CMCDragonkai opened this issue Oct 20, 2021 · 1 comment

Comments

@CMCDragonkai
Copy link

Given that you're running HTTP, I assume this must be using a stream-like TCP socket. But if you're doing p2p with NAT-busting, you must need to use UDP. So what's the translation between UDP and TCP here? Is there uTP under the hood?

Would be nice to have this clarified in the README.md.

@pfrazee
Copy link
Contributor

pfrazee commented Oct 20, 2021

This is something that the Hyperswarm docs will hopefully cover. My current understanding (which could be outdated) is that uTP is what's used when NAT busting is involved.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants