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:
parent
e37af218ee
commit
9566a90c6b
6 changed files with 713 additions and 150 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue