use milliseconds

This commit is contained in:
Benjamin Sergeant
2019-03-18 17:54:51 -07:00
parent 80e330d4c3
commit eb6ee52aaa
3 changed files with 18 additions and 15 deletions

View File

@ -204,7 +204,7 @@ namespace ix
{
// Wait with a 10ms timeout until the socket is ready to write.
// This way we are not busy looping
PollResultType result = _socket->isReadyToWrite(0, 10);
PollResultType result = _socket->isReadyToWrite(10);
if (result == PollResultType_Error)
{
_socket->close();