Cleaned up code and fixed crash when closing client before server when using udp.
This commit is contained in:
@@ -16,10 +16,6 @@ public:
|
||||
void Send(Packet & packet);
|
||||
bool IsSocketAvailable();
|
||||
private:
|
||||
// Assio UDP logic
|
||||
//boost::asio::io_service m_IOService;
|
||||
//boost::asio::ip::udp::endpoint m_ReceiverEndpoint;
|
||||
//boost::shared_ptr<boost::asio::ip::udp::socket> m_Socket;
|
||||
// Assio TCP logic
|
||||
boost::asio::ip::tcp::endpoint m_Endpoint;
|
||||
boost::asio::io_service m_IOService;
|
||||
|
||||
Reference in New Issue
Block a user