On 12/03/2012 05:34 AM, Steve Lorimer wrote:
On 3 December 2012 14:26, Joseph Sulewski
mailto:joemacher@gmail.com> wrote: Can we create a socket that registers for more than one multicast address?
Yes, you can join > 1 multicast address on a socket.
for (auto& multicast_address : addresses)
socket.set_option(boost::asio::ip::multicast::join_group(multicast_address));
@Joseph: If you try this, let us know what difference it made (if any). -- Mit freundlichen Grüßen / Best regards Andreas Wehrmann CENTER COMMUNICATION SYSTEMS GMBH Ein Unternehmen der STRABAG AG Software Development Ignaz-Köck-Str. 19 A-1210 Wien, Österreich Tel.: +43 (0) 190 199 - 3616 Fax: +43 (0) 190 199 - 2110 Mobil: +43 (0) 664 884 75916 a.wehrmann@centersystems.com FN 796 88p, Sitz in Wien Firmenbuchgericht Wien http://www.centersystems.com/ www.centersystems.com Geschäftsführung: Ing. Gerhard Jelinek, Josef-Eduard Burger