1 This directory contains various "experiment" programs used to determine
2 the behavior of the java.net class where such behavior is not sufficiently
3 documented by Sun in order to write an implementation from docs alone.
7 The setOption/getOption methods are discussed in the "Networking Enhancements"
8 document for Java 1.1 but are not in the javadocs. However, the SocketImpl
9 class is shown implementing a SocketOptions interface that is not documented.
10 We assume this is a non-public interface which contains abstract declarations
11 of the get/setOption methods as well as contants for the option_id's.
14 The option id of this option is 1. The Object passed to setOption is
15 a Boolean indicating whether this option should be on (true) or off (false).
18 The option id of this option is 128. When SO_LINGER is to be disabled,
19 the Object passed to setOption is Boolean with a value of false. When
20 SO_LINGER is to be enabled, the Object passed to setOption is an Integer
21 set to the linger value.
24 The option id of this option is 4102. The Object passed to setOption is
25 an Integer that is the new timeout value (0 to disable).