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:
Mark Wielaard 2002-01-12 10:11:13 +00:00 committed by Mark Wielaard
parent e37af218ee
commit 9566a90c6b
6 changed files with 713 additions and 150 deletions

View file

@ -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);
}
/**