A portable SCTP userland stack (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
As to why not just give up and always use UDP, one reason is that the UDP port numbers complicate the picture, at least for ULPs that were designed to run over IP. Another is that UDP does add a bit of overhead, and, sure, as time passes the cost of that overhead gets smaller, so this one may be asymptotically irrelevant. A third reason is that IP was designed to have more ULPs, so let us have that, dammit :) Now, the matter of the difficulty of implementing ULPs-over-IP in user-land, that could be made a lot simpler if we had a shim ULP with a tiny header for the purpose of allowing a modicum of multiplexing, but even without that people do have user-space TCP and what not running over NICs that are delegated to user-spaces processes, and the difficulty of implementing such things is also asymptotically irrelevant in the age of AI.
Replies (1)
Replies (1)
If they can vary then discovery is made more complex. If you fix the port number then discovery is not made more complex, but you lose the multiplexing you advertised as a feature earlier.
We're broadly in agreement except that you don't care to tell middlebox engineers to cut the shit, and I do. That's basically the only daylight between us here, I think. Fighting every little point serves to obscure my message to middlebox engineers.
Replies (1)
That's what every protocol already does! That's what a URL is, or a channel identifier, or a path, or a session identifier. The worst protocols in the world are the ones that use UDP/TCP port numbers directly as a multi-application multiplexing ID.
Replies (1)
Replies (1)
At bottom I think defining direct-on-IP protocols is a vanity exercise. I think that's why SCTP works that way: because they felt like their protocol was too important to do on UDP. That's why OSPF does this, too.