There are a number of methods in MulticastSocket that operate on a
java.net.InetAddress. These methods have been superseded, in Java 1.4,
by equivalents that operate on a java.net.NetworkInterface ( which
itself was added in java 1.4). Operating on the network interface is
more reliable than an InetAddress, and therefore these newer methods are
the preferred way to interact with MulticsatSocket. The older methods
should be deprecated, with a view to eventual removal.
Remove:
void setInterface(InetAddress)
InetAddress getInterface()
void joinGroup(InetAddress)
void leaveGroup(InetAddress)
Effective replacements are:
void setNetworkInterface(NetworkInterface)
NetworkInterface getNetworkInterface()
joinGroup(SocketAddress, NetworkInterface)
void leaveGroup(SocketAddress, NetworkInterface)
java.net.InetAddress. These methods have been superseded, in Java 1.4,
by equivalents that operate on a java.net.NetworkInterface ( which
itself was added in java 1.4). Operating on the network interface is
more reliable than an InetAddress, and therefore these newer methods are
the preferred way to interact with MulticsatSocket. The older methods
should be deprecated, with a view to eventual removal.
Remove:
void setInterface(InetAddress)
InetAddress getInterface()
void joinGroup(InetAddress)
void leaveGroup(InetAddress)
Effective replacements are:
void setNetworkInterface(NetworkInterface)
NetworkInterface getNetworkInterface()
joinGroup(SocketAddress, NetworkInterface)
void leaveGroup(SocketAddress, NetworkInterface)
There are no Sub-Tasks for this issue.