can you expand upon that? What are all the different layers? I was thinking if the kernel and libc were good to go, you're probably going to be able to benefit from it
@bagder you do also do happy eyeballs over multiple IPv4 addresses and multiple IPv6 ones right? ;)
And note that Apple published v2: https://www.rfc-editor.org/rfc/rfc8305 MacOS/iOS/etc editions have a lot more tricks to connect to the fastest (latency & bandwidth) place, if you use the right APIs to connect it is even quite simple -- but often not available for glibc ;)
Are you saying that it returns the addresses from A/AAAA queries back to the caller as it gets them instead of returning everything together? (which could obviously have delays in some situations, slowing the response time on that simple DNS resolution task... )
@feld@jeroen the main problem with "better" happy eyeballs is to get the addresses back while the responses are arriving. There is no libc API for that. You need a custom resolver for that.