Fix for windows (#50)
This commit is contained in:
committed by
Benjamin Sergeant
parent
5dbc00bbfe
commit
753fc845ac
@ -247,7 +247,7 @@ namespace ix
|
||||
|
||||
if ((clientFd = accept(_serverFd, (struct sockaddr *)&client, &addressLen)) < 0)
|
||||
{
|
||||
if (Socket::getErrno() != EWOULDBLOCK)
|
||||
if (!Socket::isWaitNeeded())
|
||||
{
|
||||
// FIXME: that error should be propagated
|
||||
std::stringstream ss;
|
||||
|
Reference in New Issue
Block a user