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

Further gnarliness, hopefully long past relevance:

https://cr.yp.to/docs/connect.html



You might think so. (-:

* https://github.com/jdebp/nosh/blob/trunk/source/socket_conne...

kqueue() can apparently return the error right in the data of the kevent, but I'm still using poll() so cannot confirm; whilst I can confirm that kqueue/kevent is alas not as truly consistent as one might expect. (Someone recently tried to move FreeBSD devd to kqueue, and hit various problems of FreeBSD devices that are still, even in version 14, not yet kqueue-ready.)


i had hopes to find a elegant solution to this issue in modern async io libs. Those I have found just simply ignore the error and forward it to the user.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: