Fix for windows (#50)
This commit is contained in:
committed by
Benjamin Sergeant
parent
28a7ec4f35
commit
4d83dab4f3
@@ -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