aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/net/SocketOptions.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2002-10-03 14:30:48 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2002-10-03 14:30:48 +0000
commita8e8f5c359b655106f4d59afc99315d0bb420040 (patch)
tree083ec10ee6e31b213f92a088bb5e803da3668318 /libjava/java/net/SocketOptions.java
parent4c9c9a3da5efd5ae740201250428f7a48a263ac7 (diff)
downloadgcc-a8e8f5c359b655106f4d59afc99315d0bb420040.zip
gcc-a8e8f5c359b655106f4d59afc99315d0bb420040.tar.gz
gcc-a8e8f5c359b655106f4d59afc99315d0bb420040.tar.bz2
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
Diffstat (limited to 'libjava/java/net/SocketOptions.java')
-rw-r--r--libjava/java/net/SocketOptions.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/libjava/java/net/SocketOptions.java b/libjava/java/net/SocketOptions.java
index 628e08e..f62afef 100644
--- a/libjava/java/net/SocketOptions.java
+++ b/libjava/java/net/SocketOptions.java
@@ -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
/**