Various clean ups.

This commit is contained in:
stiffly
2016-02-23 11:07:56 +01:00
parent c42e1e0967
commit fc7d62a5ad
10 changed files with 1 additions and 123 deletions
-12
View File
@@ -35,18 +35,6 @@ void UDPClient::Receive(Packet& packet)
int UDPClient::readBuffer()
{
//if (!m_Socket) {
// return 0;
//}
//boost::system::error_code error;
//int bytesReceived = m_Socket->receive_from(boost
// ::asio::buffer((void*)data, BUFFERSIZE),
// m_ReceiverEndpoint,
// 0, error);
//if (error) {
// //LOG_ERROR("receive: %s", error.message().c_str());
//}
//return bytesReceived;
if (!m_Socket) {
return 0;
}