[jboss-jira] [JBoss JIRA] Created: (JGRP-516) UDP: mcast_sock is not binding to bind_addr for reception of packets
Bela Ban (JIRA)
jira-events at lists.jboss.org
Thu May 17 11:01:02 EDT 2007
UDP: mcast_sock is not binding to bind_addr for reception of packets
--------------------------------------------------------------------
Key: JGRP-516
URL: http://jira.jboss.com/jira/browse/JGRP-516
Project: JGroups
Issue Type: Task
Affects Versions: 2.4.1 SP3, 2.4.1 SP2, 2.4.1 SP1, 2.4.1
Reporter: Bela Ban
Assigned To: Bela Ban
Fix For: 2.5
mcast_sock only bind to a NIC for *sending* of messages, but not for reception: it actually receives multicast packets on *all* interfaces (wildcard address 0.0.0.0). Code is UDP.createSockets():
mcast_sock=new MulticastSocket(mcast_port);
We should change this to:
SocketAddress saddr=new InetSocketAddress(bind_addr, mcast_port);
mcast_sock=new MulticastSocket(saddr);
--
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