Thanks guys I'll give this a try.  Two questions. 

When I call socket->bind I provide it with an endpoint.  When I create the endpoint I'm currently using the multicast address, what should I use for the address?  If I'm binding to multiple multicast addresses it doesn't make sense to bind to one of them.

Finally,  it appears I can join multiple multicast groups but they need to be the same port.  Is this correct?

Thanks again

On Dec 3, 2012 2:13 AM, "Andreas Wehrmann" <a.wehrmann@centersystems.com> wrote:
On 12/03/2012 05:34 AM, Steve Lorimer wrote:

On 3 December 2012 14:26, Joseph Sulewski <joemacher@gmail.com
<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
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users