fix for Windows (#69)
* fix for Windows * fix condition * make condition only on Windows
This commit is contained in:
committed by
Benjamin Sergeant
parent
5f42a07d0d
commit
be2aee3354
@ -303,6 +303,10 @@ namespace ix
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
if (lastingTimeoutDelayInMs <= 0) lastingTimeoutDelayInMs = 20;
|
||||
#endif
|
||||
|
||||
// poll the socket
|
||||
PollResultType pollResult = _socket->poll(lastingTimeoutDelayInMs);
|
||||
|
||||
|
Reference in New Issue
Block a user