[Boost-bugs] [Boost C++ Libraries] #6125: set_option error

Subject: [Boost-bugs] [Boost C++ Libraries] #6125: set_option error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-15 16:42:23


#6125: set_option error
------------------------------+---------------------------------------------
 Reporter: trajor@… | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 Hi,

 I'm trying to set up elementary udp connection, here is a part of code:


 {{{
 boost::asio::ip::multicast::join_group joinRequest(
 boost::asio::ip::address_v4::from_string("239.192.112.3"),
 boost::asio::ip::address_v4::from_string("172.20.200.42")
 );

 socket_.set_option(joinRequest);//ERROR

 }}}

 The error is: "set_option: The requested address is not valid in its
 context 2.112.3"

 It seems that first part of my multicast-address(239.19) was cutted out.

 My production environment is Windows, VC10

 Could you please tell me how can I fix this issue?

 Thanks,

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6125>
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 : 2017-02-16 18:50:07 UTC