diff --git a/Csocket.h b/Csocket.h index 7032de4a..c44e7f41 100644 --- a/Csocket.h +++ b/Csocket.h @@ -1919,7 +1919,7 @@ protected: for( uCurrPoll = 0; uCurrPoll < uMaxFD; ++uCurrPoll ) { short iEvents = 0; - if( (pFDs[uCurrPoll].revents & POLLIN ) ) + if( (pFDs[uCurrPoll].revents & (POLLIN|POLLERR|POLLHUP|POLLNVAL) ) ) iEvents |= eCheckRead; if( (pFDs[uCurrPoll].revents & POLLOUT ) ) iEvents |= eCheckWrite;