-
Task
-
Resolution: Done
-
Major
-
2.4.1, 2.4.1 SP1, 2.4.1 SP2, 2.4.1 SP3
-
None
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);