Editing POLLHUP polling
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 166: | Line 166: | ||
This is regardless of whether there is data in the socket to read. | This is regardless of whether there is data in the socket to read. | ||
The [https://man.netbsd.org/poll.2 NetBSD poll man page] specifically notes that "Sockets produce POLLIN rather than POLLHUP when the remote end is closed" | The [https://man.netbsd.org/poll.2 NetBSD poll man page] specifically notes that "Sockets produce POLLIN rather than POLLHUP when the remote end is closed" | ||
Leaving the events bitmask empty causes poll to timeout. | Leaving the events bitmask empty causes poll to timeout. | ||
== MSYS2 on Windows == | == MSYS2 on Windows == |