Re:Hooray for the Sockets Interface
by UltraSane on Wednesday July 29, 2026 @09:02AM
(#49096975)
How so?
[ Parent
| on HN ]
> How so?
Standards as well as all manual pages and other documentation say that getaddrinfo() should be called via a loop by clients. And results show that almost all clients indeed do that. Therefore, on the server-side, you can do round-robin DNS, randomization (as suggested by the post linked), fall-backs, CDN things, and many other things.
Standard TCP maps connections to IP addresses. If your IP changes, the connection drops. A secure cryptographic Session Layer maps connections to your unique device ID.
Imagine if the functionality of something like tailscale was actually built into TCP/IP. This is what the missing session layer should have been.