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

The problem is that the standard library function is specified to be blocking (and it's in userspace, so io_uring is not relevant). It's quite possible to do a non-blocking DNS lookup but you have to use a separate non-standard library (like c-ares).


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

Search: