Boost C++ Libraries: Ticket #6125: set_option error https://svn.boost.org/trac10/ticket/6125 <p> Hi, </p> <p> I'm trying to set up elementary udp connection, here is a part of code: </p> <pre class="wiki">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 </pre><p> The error is: "set_option: The requested address is not valid in its context 2.112.3" </p> <p> It seems that first part of my multicast-address(239.19) was cutted out. </p> <p> My production environment is Windows, VC10 </p> <p> Could you please tell me how can I fix this issue? </p> <p> Thanks, </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6125 Trac 1.4.3 trajor@… Tue, 15 Nov 2011 16:47:08 GMT <link>https://svn.boost.org/trac10/ticket/6125#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6125#comment:1</guid> <description> <p> Also, I can set up connection via winsock and get data, but in some reasons I cannot do that with boost. </p> <p> Thanks in advance, </p> </description> <category>Ticket</category> </item> <item> <dc:creator>chris_kohlhoff</dc:creator> <pubDate>Tue, 29 May 2012 01:41:37 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6125#comment:2 https://svn.boost.org/trac10/ticket/6125#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> I do not know why the error is corrupted, and cannot reproduce this. Please reopen this ticket if you can supply a small, complete test case showing this issue. </p> <p> The error itself means that the second IP address ("172.20.200.42") probably does not identify a valid interface on that system. </p> Ticket