4 ms·
macOS definitely has an async version for getaddrinfo, it's just not public API. CoreFoundation uses it, but what they publicly give you is a connect-by-hostnam
by krackers 2y ago
macOS definitely has an async version for getaddrinfo, it's just not public API. CoreFoundation uses it, but what they publicly give you is a connect-by-hostname API that does happy eyeballs, see https://news.ycombinator.com/item?id=41572770 https://news.ycombinator.com/item?id=41572770