use milliseconds
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user