InetAddress.java (ANY_IF): moved from ServerSocket.
* java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
* java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
InetAddress.
* java/net/MulticastSocket.java (MulticastSocket): Likewise.
* java/net/Socket.java: Merge with Classpath.
* java/net/ServerSocket.java: Likewise.
From-SVN: r48797
This commit is contained in:
committed by
Mark Wielaard
parent
e37af218ee
commit
9566a90c6b
@@ -64,7 +64,7 @@ public class MulticastSocket extends DatagramSocket
|
||||
*/
|
||||
public MulticastSocket() throws IOException
|
||||
{
|
||||
super(0, ServerSocket.ANY_IF);
|
||||
super(0, null);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -76,7 +76,7 @@ public class MulticastSocket extends DatagramSocket
|
||||
*/
|
||||
public MulticastSocket(int port) throws IOException
|
||||
{
|
||||
super(port, ServerSocket.ANY_IF);
|
||||
super(port, null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user