38 this->
socket->set_option(boost::asio::ip::unicast::hops(1));
42 this->
socket->non_blocking(
true);
virtual void close_socket()
Close the socket.
boost::asio::ip::udp::socket * socket
Receiver data using UDP in unicast mode.
void open_socket()
Open the socket with the desired options.
UnicastReceiver(const std::string receiver_address, const short receiver_port)
Construct a new Unicast Receiver object.
boost::asio::ip::udp::endpoint receiver_endpoint
~UnicastReceiver()
Destroy the Unicast Receiver object.
Receiver class using UDP.