Network/ENetHost: Fix usage of SocketPoller

This commit is contained in:
Lynix 2017-05-16 09:11:02 +02:00
parent 9a30a7ee04
commit d516b0907b
1 changed files with 2 additions and 2 deletions

View File

@ -280,7 +280,7 @@ namespace Nz
m_serviceTime = GetElapsedMilliseconds();
}
while (m_poller.IsReady(m_socket));
while (m_poller.IsReadyToRead(m_socket));
return 0;
}
@ -327,7 +327,7 @@ namespace Nz
}
}
m_poller.RegisterSocket(m_socket);
m_poller.RegisterSocket(m_socket, SocketPollEvent_Read);
return true;
}