Commit 8b98846b authored by /jdi/'s avatar /jdi/
Browse files

clean up

parent a6c9f4ce
......@@ -34,8 +34,6 @@ Socket::Socket(asio::io_service& io_service, short dst_port, short src_port) :
socket_.open(asio::ip::udp::v4());
socket_.bind(local_endpoint_); //TODO reuse Address
//socket_.open(asio::ip::udp::v4());
//socket_.set_option(asio::ip::multicast::outbound_interface(local_addr)); // TODO broadcast outbound interface
socket_.set_option(asio::socket_base::broadcast(true));
socket_.set_option(asio::socket_base::reuse_address(true));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment