Hacker News new | ask | show | jobs
by LaLaLand122 1274 days 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/ 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-re...