2 ms·
Past tense on have to write two complete code paths to support v4 and v6 at the same time. Today we have getaddrinfo, so if you're writing from scratch you can
by p_l 3y ago
Past tense on have to write two complete code paths to support v4 and v6 at the same time.
Today we have getaddrinfo, so if you're writing from scratch you can just use that, you can also simplify older code with it and get v6 at the same time.
But there's a lot of old code that still doesn't use GAI and was never upgraded.