22 UDPTransport(std::string address, std::string port =
"0");
28 virtual bool read(boost::array<uint8_t, 4096>& buf,
size_t& len);
29 virtual bool readWithTimeout(boost::array<uint8_t, 4096>& buf,
size_t& len,
const uint32_t expiry_time);
32 std::unique_ptr<boost::asio::ip::udp::socket>
socket_;
virtual bool read(boost::array< uint8_t, 4096 > &buf, size_t &len)
virtual bool disconnect()
UDPTransport(std::string address, std::string port="0")
std::unique_ptr< boost::asio::ip::udp::socket > socket_
virtual bool readWithTimeout(boost::array< uint8_t, 4096 > &buf, size_t &len, const uint32_t expiry_time)