[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-292) Use "MulticastSocket(SocketAddress bindaddr)" on Solaris

Radoslav Husar (JIRA) issues at jboss.org
Mon May 30 17:18:00 EDT 2016


    [ https://issues.jboss.org/browse/MODCLUSTER-292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244944#comment-13244944 ] 

Radoslav Husar commented on MODCLUSTER-292:
-------------------------------------------

JGroups as of commit 6359e3fbfbc82967ad1d45f12f9f4b9145419911 also binds to mcast address on Mac OS X, the current logic is:

{noformat}
        can_bind_to_mcast_addr=(Util.checkForLinux() && !Util.checkForAndroid())
          || Util.checkForSolaris()
          || Util.checkForHp()
          || Util.checkForMac();
{noformat}

> Use "MulticastSocket(SocketAddress bindaddr)" on Solaris
> --------------------------------------------------------
>
>                 Key: MODCLUSTER-292
>                 URL: https://issues.jboss.org/browse/MODCLUSTER-292
>             Project: mod_cluster
>          Issue Type: Task
>    Affects Versions: 1.2.0.Final
>            Reporter: Brian Stansberry
>            Assignee: Radoslav Husar
>
> MulticastSocketFactoryImpl determines whether it can use the "MulticastSocket(SocketAddress bindaddr)" constructor variant based on this:
> this.linuxlike = (value != null) && (value.toLowerCase().startsWith("linux") || value.toLowerCase().startsWith("mac") || value.toLowerCase().startsWith("hp"));
> JGroups when doing a similiar test also allows Solaris via including (value.toLowerCase().startsWith("sun") in the test.
> (Tangent: JGroups doesn't allow "mac", which sounds like a good topic for discussion between the respective teams.)



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the mod_cluster-issues mailing list