Cleaned up code and fixed crash when closing client before server when using udp.

This commit is contained in:
Jocke
2016-02-10 11:28:03 +01:00
parent d2ed293183
commit 2ec30fd2b2
10 changed files with 78 additions and 103 deletions
-1
View File
@@ -83,7 +83,6 @@ void TCPClient::Send(Packet & packet)
m_Socket->send(boost::asio::buffer(
packet.Data(),
packet.Size()), 0, error);
//Network::logSentData(packet.Size());
}
bool TCPClient::IsSocketAvailable()