[jboss-dev-forums] [Design of Clustering on JBoss (Clusters/JBoss)] - Re: JBoss server mcast socket bound to network interface

bela@jboss.com do-not-reply at jboss.com
Wed Nov 7 07:40:51 EST 2007


"akostadinov" wrote : Bela, is it possible to tell JGroups to not set IP_MULTICAST_IF so OS chooses the default one. I let to you choose if that will bring up better user experience.
  | 

Well, JGroups needs the bind address, as this forms the address of a member. However, if we only used the bind_addr to determine the local_addr and used no bind_addr for the datagram socket creation, the OS would *not* pick an interface, but instead use the wild card interface 0.0.0.0, so packets would get received over any interface if the port matches.
This is doable, but wouldn't help us with the issue at hand.

Bela

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102512#4102512

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102512



More information about the jboss-dev-forums mailing list