Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13463: Boost UDP multicast sender not using correct port
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-03-04 02:41:14
#13463: Boost UDP multicast sender not using correct port
-------------------------------+---------------------------------------
Reporter: anonymous | Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
Version: Boost 1.66.0 | Severity: Showstopper
Resolution: | Keywords: asio udp multicast sender
-------------------------------+---------------------------------------
Comment (by anonymous):
I change the order of the private members in the code:
private:
unsigned short multicast_port = 13000; //30001
int max_message_count = 10;
boost::asio::ip::udp::endpoint endpoint_;
boost::asio::ip::udp::socket socket_;
boost::asio::steady_timer timer_;
int message_count_;
std::string message_;
now everything works as intended. Please close the ticket.
-- Ticket URL: <https://svn.boost.org/trac10/ticket/13463#comment:3> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2018-03-04 02:45:07 UTC