3 ms·
To be fair, "getaddrinfo is _the_ path" is a shitty situation. - It's a synchronous interface. Things like getaddrinfo_a are barely better. It has forced peopl
by LaLaLand122 4y ago
To be fair, "getaddrinfo is _the_ path" is a shitty situation.
- It's a synchronous interface. Things like getaddrinfo_a are barely better. It has forced people to do stuff like https://c-ares.org/ https://c-ares.org/ for ages, which has suffered from "is not _the_ path" issues for as long
- It's a less featured interface than, for example, https://wiki.freedesktop.org/www/Software/systemd/writing-resolver-clients/ https://wiki.freedesktop.org/www/Software/systemd/writing-re...