Network/SocketPoller: Fix behavior of Wait method (-1 will block)
This commit is contained in:
@@ -30,7 +30,7 @@ namespace Nz
|
||||
bool RegisterSocket(SocketHandle socket, SocketPollEventFlags eventFlags);
|
||||
void UnregisterSocket(SocketHandle socket);
|
||||
|
||||
int Wait(UInt64 msTimeout, SocketError* error);
|
||||
int Wait(int msTimeout, SocketError* error);
|
||||
|
||||
private:
|
||||
std::unordered_set<SocketHandle> m_readyToReadSockets;
|
||||
|
||||
Reference in New Issue
Block a user