Roman Rokytskyy wrote:
Because if we leave bind_addr null, then we will leave it up to the stack to choose the correct network interface.
According to javadocs for JDK 1.3 setting bind_address to null will cause
socket to bind to all addresses. See java.net.ServerSocket(int, int,
InetAddress): "If bindAddr is null, it will default accepting connections on
any/all local addresses."
Okay, I have commented the code which sets bind_addr explicitly if it is null. So mcast sockets will by default accept traffic on all interfaces, which is an okay default policy I think.
When we move to JDK 1.4, we can always implement a finer-grained binding policy.
--
Bela Ban
http://www.javagroups.com
Cell: (408) 316-4459
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
