TODO: implement other polling APIs like kqueue and epoll, dont have linux at the moment
This commit is contained in:
@ -82,7 +82,7 @@ namespace std::net
|
||||
|
||||
uint32_t TcpConnectionHandler::GetAvailableID()
|
||||
{
|
||||
for (int i = 1; i <= m_maxConnections; i++)
|
||||
for (uint32_t i = 1; i <= m_maxConnections; i++)
|
||||
{
|
||||
bool flag = true;
|
||||
m_listMutex.lock();
|
||||
|
||||
Reference in New Issue
Block a user