Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm skeptical of that. Why do you say so?


gethostbyname() only returns an address, it can't be used to e.g. query for MX records. You also lose control over retries to different addresses if you use gethostbyname(), which some mail server software will also care about.

However as I noted in my other reply, musl also implements the res_* functions, like res_send() etc., and those can be used to address both.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: