2002-10-03 Michael Koch <konqueror@gmx.de>

* java/net/DatagramPacket.java
	(setLength): Fixed typo and be HTML-aware.
	* java/net/InetSocketAddress.java
	(InetSocketAddress): Correct initialization of hostname, fixed typo.
	(equals): Added comment about equality of InetSocketAddress objects.
	* java/net/ServerSocket.java
	(accept): Added checks.
	(isClosed): New stubbed method.
	* java/net/SocketOptions.java: Reindention.
	* java/net/SocketPermission
	(SocketPermission): Documentation fixed.

From-SVN: r57776
This commit is contained in:
Michael Koch 2002-10-03 14:30:48 +00:00 committed by Michael Koch
parent 4c9c9a3da5
commit a8e8f5c359
6 changed files with 46 additions and 19 deletions

View file

@ -60,7 +60,7 @@ public interface SocketOptions
* @since 1.3
*/
static final int SO_KEEPALIVE = 0x8;
/**
* Option id for the SO_LINGER value
*/
@ -106,13 +106,13 @@ public interface SocketOptions
static final int SO_OOBINLINE = 0x1003; // 4099
/**
* Option id for the TCP_NODELAY value
*/
* Option id for the TCP_NODELAY value
*/
static final int TCP_NODELAY = 0x01; // 1
/**
* Options id for the IP_MULTICAST_IF value
*/
* Options id for the IP_MULTICAST_IF value
*/
static final int IP_MULTICAST_IF = 0x10; // 16
/**