From 8b98846b0b2ac4424df7e2a6e41e9d048838a879 Mon Sep 17 00:00:00 2001 From: /jdi/ Date: Wed, 23 Sep 2015 23:32:04 +0200 Subject: [PATCH] clean up --- src/transfer/Socket.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/transfer/Socket.cpp b/src/transfer/Socket.cpp index 2067979..1691c1d 100644 --- a/src/transfer/Socket.cpp +++ b/src/transfer/Socket.cpp @@ -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));