Comment by o11c

Comment by o11c a year ago

2 replies

getaddrinfo isn't its predecessors, there's nothing error-prone about it. The only thing that's nontrivial is falling back if the first server is unresponsive, and even there the obvious calling code is fine for almost all apps.

kccqzy a year ago

If you are using getaddrinfo directly, you likely wouldn't bother to implement Happy Eyeballs, for example.

  • o11c a year ago

    And for almost all programs, that doesn't matter in $CURRENTYEAR.