On Mon, 04 Jul 2016 14:45:57 +0200, Jeremie Courreges-Anglas wrote: > The two sockets we check for are SOCK_DGRAM sockets, I assumed that we > can't get POLLHUP on such sockets. Wrong assumption?
That should be fine then, you can only get POLLHUP for connection-oriented sockets. - todd