Moved UDP logic from Hybrid server/client to UDP server/client. fixed bug in Server::CheckForTimeOuts.

This commit is contained in:
Jocke
2016-02-08 14:32:00 +01:00
parent 88d7b79cd3
commit ba9419b342
16 changed files with 271 additions and 230 deletions
-2
View File
@@ -8,7 +8,6 @@ TCPServer::TCPServer()
TCPServer::~TCPServer()
{
}
void TCPServer::readFromClients()
@@ -135,7 +134,6 @@ void TCPServer::send(Packet & packet)
}
}
//boost::shared_ptr<boost::asio::ip::tcp::socket> socket
int TCPServer::receive(char * data, boost::asio::ip::tcp::socket& socket)
{
boost::system::error_code error;