We still need to peek a byte to tell that recv is done with poll()
Not all implementations set POLLHUP when a TCP socket is half-closed.
Please register or sign in to comment
Not all implementations set POLLHUP when a TCP socket is half-closed.