Commit e161ef15 authored by Jack Andersen's avatar Jack Andersen

Remove unnecessary setBlocking calls

parent e65f42c8
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment