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

It is not that well-explained, actually. Checking for output-ready status is quite often a waste of time. An exceptional condition does not necessarily mean an error (TCP OOB messages, though rarely used), and it is likewise unnecessary for many if not most applications.

Python, like many languages, seems to just defer to the OS select(), so a good read for parties interested are the man pages and maybe something like Beej's Guide to Networking.



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

Search: