Network/SocketPoller: Uniformize behavior accross platforms

On Windows, a closed connection will mark as ready for read/write
This commit is contained in:
Jérôme Leclercq
2017-10-04 10:53:51 +02:00
committed by Lynix
parent d1eac591f5
commit 874599fefd
3 changed files with 16 additions and 9 deletions

View File

@@ -111,9 +111,6 @@ namespace Nz
if (m_events[i].events & (EPOLLOUT | EPOLLERR))
m_readyToWriteSockets.insert(m_events[i].data.fd);
if (m_events[i].events & EPOLLERR)
NazaraWarning("Descriptor " + String::Number(m_events[i].data.fd) + " was returned by epoll with EPOLLERR status");
}
else
{