Home | Notifications | New Note | Local | Federated | Search | Logout
Note Detail
Reply to @dthompson@toot.cat
ArneBab@ArneBab@rollenspiel.social (2026-10-20 00:27:05)
@dthompson There’s always the option of just building your own layer on top of UDP.
It’s not like there is no precedent (looking at Freenet / Hyphanet …).
The ordering requirement makes that a bit expensive, though. Once you need the order preserved, just using TCP is usually a better fit than UDP, since it does all the heavy lifting, including load balancing, re-transmit, and so on.
Does UPnP not work anymore to open ports for TCP dynamically?
---Reply---
dave@dthompson@toot.cat (2026-10-20 02:22:39)
@ArneBab yes, building a new protocol on top of UDP is always an option, but I'm trying to exhaust all of the existing options before going down that path.
I agree that just using TCP would be fine, but unfortunately you can't punch through NATs with TCP so you're stuck with UDP.
UPnP is one tool in the toolbox but it's far from guaranteed to work and even if it works on the user's LAN it won't help if the user is also behind a carrier grade NAT.
Reply