diff options
| author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-16 00:30:23 +0000 |
|---|---|---|
| committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-16 00:30:23 +0000 |
| commit | c8875fb97fc03779a5bba09872227b1d08e5d52a (patch) | |
| tree | a0b991cf5866ae1d616639b906ac001811d74508 /libjava/classpath/compat/java.net/README | |
| parent | c40c1730800ed292b6db39a83d592476fa59623c (diff) | |
| download | ppe42-gcc-c8875fb97fc03779a5bba09872227b1d08e5d52a.tar.gz ppe42-gcc-c8875fb97fc03779a5bba09872227b1d08e5d52a.zip | |
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102074 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/compat/java.net/README')
| -rw-r--r-- | libjava/classpath/compat/java.net/README | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libjava/classpath/compat/java.net/README b/libjava/classpath/compat/java.net/README new file mode 100644 index 00000000000..f249b7516de --- /dev/null +++ b/libjava/classpath/compat/java.net/README @@ -0,0 +1,27 @@ +This directory contains various "experiment" programs used to determine +the behavior of the java.net class where such behavior is not sufficiently +documented by Sun in order to write an implementation from docs alone. + +Some key findings: + +The setOption/getOption methods are discussed in the "Networking Enhancements" +document for Java 1.1 but are not in the javadocs. However, the SocketImpl +class is shown implementing a SocketOptions interface that is not documented. +We assume this is a non-public interface which contains abstract declarations +of the get/setOption methods as well as contants for the option_id's. + +TCP_NODELAY: + The option id of this option is 1. The Object passed to setOption is + a Boolean indicating whether this option should be on (true) or off (false). + +SO_LINGER: + The option id of this option is 128. When SO_LINGER is to be disabled, + the Object passed to setOption is Boolean with a value of false. When + SO_LINGER is to be enabled, the Object passed to setOption is an Integer + set to the linger value. + +SO_TIMEOUT: + The option id of this option is 4102. The Object passed to setOption is + an Integer that is the new timeout value (0 to disable). + + |

