News for hackers. Stuff that matters.
Re:Epic Allows Internet Archive to Distribute Unreal and Unr... by desdenova on Wednesday November 20, 2024 @06:37AM (#42192922)
WebSockets are TCP-only.

WebRTC can run over UDP, but it's not raw UDP. I think that's what they meant.

Re:Epic Allows Internet Archive to Distribute Unreal and Unr... by modeless on Wednesday November 20, 2024 @07:23AM (#42193285)
Yes, it's WebRTC. It uses real unreliable and unordered UDP packets, peer-to-peer. But WebRTC requires a connection establishment step to happen first, so it can't send traffic to arbitrary UDP services, only cooperating WebRTC peers. Which is fine for multiplayer games.
Re:Epic Allows Internet Archive to Distribute Unreal and Unr... by kaoD on Wednesday November 20, 2024 @06:45AM (#42192971)
I don't have time to look into the code right now, but it might also be WebTransport:

https://developer.mozilla.org/en-US/docs/Web/API/WebTranspor...

EDIT: actually I can't find the code, shouldn't it be linked as per GPL's license?

Re:Epic Allows Internet Archive to Distribute Unreal and Unr... by junon on Wednesday November 20, 2024 @07:20AM (#42193252)
WebSockets also initiate a normal Http request first, further complicating things anyway.