Extracted from https://github.com/ziglang/zig/pull/25592. The glibc implementation of `netLookup` should use `getaddrinfo_a` / `gai_cancel` to obtain these two properties: * asynchronously add to results queue * cancellation integration ```zig if (builtin.target.isGnuLibC()) { // TODO use getaddrinfo_a / gai_cancel } ```
Extracted from #25592.
The glibc implementation of
netLookupshould usegetaddrinfo_a/gai_cancelto obtain these two properties: