Cleaned up code and fixed crash when closing client before server when using udp.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user