2003-06-08 Michael Koch <konqueror@gmx.de>

* java/net/DatagramSocket.java
	(DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
	into the Multicast constructors.
	* java/net/DatagramSocketImpl.java
	(getOption): Removed.
	(setOption): Removed.
	* java/net/MulticastSocket.java
	(MulticastSocket): Call setReuseAddress (true).
	* java/net/SocketImpl.java
	(getOption): Removed.
	(setOption): Removed.

From-SVN: r67617
This commit is contained in:
Michael Koch 2003-06-08 09:25:54 +00:00 committed by Michael Koch
parent 147d396eaa
commit f61e212582
5 changed files with 17 additions and 70 deletions

View file

@ -81,6 +81,7 @@ public class MulticastSocket extends DatagramSocket
public MulticastSocket() throws IOException
{
super(0, null);
setReuseAddress (true);
}
/**
@ -95,6 +96,7 @@ public class MulticastSocket extends DatagramSocket
public MulticastSocket(int port) throws IOException
{
super(port, null);
setReuseAddress (true);
}
/**
@ -111,6 +113,7 @@ public class MulticastSocket extends DatagramSocket
public MulticastSocket(SocketAddress address) throws IOException
{
super(address);
setReuseAddress (true);
}
/**