Re: [jgroups-dev] JGroups preference for IPv6

Bela Ban <[email protected]>
Newsgroups gmane.comp.java.javagroups.devel
Message-ID <[email protected]>

Brian Stansberry wrote:
>
> On 04/12/2010 02:47 AM, Bela Ban wrote:
>> This won't work: even though you *could* have a dual stack, unless you
>> set one of the java.net.preferXXX flags, the JVM picks an IPv6 stack by
>> default !
>>
>> So a class D IPv4 address, e.g. 239.5.5.5, will fail the creation of the
>> MulticastSocket in UDP (cannot bind to 239.5.5.5), and we're back to
>> having promiscuous traffic.
>>
>
> Hmm. That maybe explains why this is suddenly showing up as a problem 
> on Macs??? On a Mac you don't try to bind the MulticastSocket to the 
> multicast address; you use new MulticastSocket(int port) and it's 
> bound to IN_ADDR_ANY. So the IPv4 multicast addresses JBoss shipped 
> with worked with JGroups 2.5.x. Now with the 2.10 upgrade the 
> JGRP-1152 check causes a failure.

Can you try with CVS head (I committed my change yesterday) ?

-- 
Bela Ban
Lead JGroups / Clustering Team
JBoss

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Javagroups-development mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.