News for hackers. Stuff that matters.
Re:Hooray for the Sockets Interface by UltraSane on Wednesday July 29, 2026 @09:02AM (#49096975)
How so?
Re:Hooray for the Sockets Interface by jruohonen on Friday July 31, 2026 @09:43AM (#49123054)
> 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.

Re:Hooray for the Sockets Interface by UltraSane on Saturday August 01, 2026 @08:35AM (#49133899)
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.