Remove unnecessary setBlocking calls

This commit is contained in:
Jack Andersen 2017-01-06 22:50:40 -10:00
parent e65f42c843
commit e161ef15fa
1 changed files with 0 additions and 2 deletions

View File

@ -418,7 +418,6 @@ void Endpoint::clockSync()
TickDelta = u32(u64(TickDelta) * 16777216 / GetGCTicksPerSec());
m_lastGCTick = GetGCTicks();
TickDelta = SBig(TickDelta);
m_clockSocket.setBlocking(false);
if (m_clockSocket.send(&TickDelta, 4) == net::Socket::EResult::Error)
m_running = false;
}
@ -429,7 +428,6 @@ void Endpoint::send(const u8* buffer)
net::Socket::EResult result;
size_t sentBytes;
m_dataSocket.setBlocking(false);
if (m_lastCmd == CMD_WRITE)
result = m_dataSocket.send(buffer, 5, sentBytes);
else