fixed request.
This commit is contained in:
@@ -6,8 +6,6 @@
|
|||||||
#include <boost/asio.hpp>
|
#include <boost/asio.hpp>
|
||||||
#include "Network/NetworkClient.h"
|
#include "Network/NetworkClient.h"
|
||||||
|
|
||||||
typedef std::map<unsigned int, std::vector<std::pair<int, boost::shared_ptr<char>>>> PacketMap;
|
|
||||||
|
|
||||||
class UDPClient : public NetworkClient
|
class UDPClient : public NetworkClient
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -25,6 +23,7 @@ public:
|
|||||||
bool GetNextPacket(Packet& packet);
|
bool GetNextPacket(Packet& packet);
|
||||||
private:
|
private:
|
||||||
// Assio UDP logic
|
// Assio UDP logic
|
||||||
|
typedef std::map<unsigned int, std::vector<std::pair<int, boost::shared_ptr<char>>>> PacketMap;
|
||||||
boost::asio::io_service m_IOService;
|
boost::asio::io_service m_IOService;
|
||||||
boost::asio::ip::udp::endpoint m_ReceiverEndpoint;
|
boost::asio::ip::udp::endpoint m_ReceiverEndpoint;
|
||||||
boost::shared_ptr<boost::asio::ip::udp::socket> m_Socket;
|
boost::shared_ptr<boost::asio::ip::udp::socket> m_Socket;
|
||||||
|
|||||||
Reference in New Issue
Block a user