[jboss-jira] [JBoss JIRA] Commented: (JGRP-639) UDP: bind MulticastSocket to multicast address
Bela Ban (JIRA)
jira-events at lists.jboss.org
Fri Jan 25 02:06:21 EST 2008
[ http://jira.jboss.com/jira/browse/JGRP-639?page=comments#action_12396717 ]
Bela Ban commented on JGRP-639:
-------------------------------
The solution is to use the multicast address to create the MulticastSocket: mcast_sock=new MulticastSocket(new InetSocketAddress(mcast_addr, mcast_port)).
If this throws an exception, we log it as WARN and retry with a null mcast_addr (this should usually work).
See http://wiki.jboss.org/wiki/Wiki.jsp?page=CrossTalking for details
> UDP: bind MulticastSocket to multicast address
> ----------------------------------------------
>
> Key: JGRP-639
> URL: http://jira.jboss.com/jira/browse/JGRP-639
> Project: JGroups
> Issue Type: Task
> Reporter: Bela Ban
> Assigned To: Bela Ban
> Fix For: 2.7, 2.4.2, 2.6.2
>
>
> This doesn't work on Windows, so try-catch it and create new MulticastSocket with a wildcard bind address.
> (2.4.2 is the equivalent of 2.4.1. SP5) - Bela
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list