/openjdk10/jdk/test/java/nio/channels/DatagramChannel/ |
H A D | SocketOptionTests.java | 40 static <T> void checkOption(DatagramChannel dc, method in class:SocketOptionTests 72 checkOption(dc, SO_BROADCAST, false); 73 checkOption(dc, IP_MULTICAST_TTL, 1); // true on supported platforms 74 checkOption(dc, IP_MULTICAST_LOOP, true); // true on supported platforms 78 checkOption(dc, SO_BROADCAST, true); 80 checkOption(dc, SO_BROADCAST, false); 93 checkOption(dc, SO_REUSEADDR, true); 95 checkOption(dc, SO_REUSEADDR, false); 98 checkOption(dc, SO_REUSEPORT, true); 100 checkOption(d [all...] |
/openjdk10/jdk/test/java/nio/channels/ServerSocketChannel/ |
H A D | SocketOptionTests.java | 41 static void checkOption(ServerSocketChannel ssc, SocketOption name, Object expectedValue) method in class:SocketOptionTests 69 checkOption(ssc, SO_REUSEADDR, true); 71 checkOption(ssc, SO_REUSEADDR, false); 74 checkOption(ssc, SO_REUSEPORT, true); 76 checkOption(ssc, SO_REUSEPORT, false);
|
/openjdk10/jdk/test/java/nio/channels/SocketChannel/ |
H A D | SocketOptionTests.java | 41 static void checkOption(SocketChannel sc, SocketOption name, Object expectedValue) method in class:SocketOptionTests 65 checkOption(sc, SO_KEEPALIVE, false); 66 checkOption(sc, TCP_NODELAY, false); 70 checkOption(sc, SO_KEEPALIVE, true); 72 checkOption(sc, SO_KEEPALIVE, false); 85 checkOption(sc, SO_REUSEADDR, true); 87 checkOption(sc, SO_REUSEADDR, false); 97 checkOption(sc, TCP_NODELAY, true); 105 checkOption(sc, SO_KEEPALIVE, true); 107 checkOption(s [all...] |
/openjdk10/jdk/test/com/sun/nio/sctp/SctpChannel/ |
H A D | SocketOptionTests.java | 50 <T> void checkOption(SctpChannel sc, SctpSocketOption<T> name, method in class:SocketOptionTests 61 checkOption(sc, name, value); 93 checkOption(sc, SCTP_INIT_MAXSTREAMS, streams); 105 checkOption(sc, SCTP_NODELAY, true); 107 checkOption(sc, SO_SNDBUF, 16*1024); 109 checkOption(sc, SO_RCVBUF, 16*1024); 110 checkOption(sc, SO_LINGER, -1); /* default should be negative */ 112 checkOption(sc, SO_LINGER, 2000);
|
/openjdk10/jdk/test/java/nio/channels/AsynchronousServerSocketChannel/ |
H A D | Basic.java | 159 checkOption(ch, SO_REUSEADDR, true); 161 checkOption(ch, SO_REUSEADDR, false); 165 checkOption(ch, SO_REUSEPORT, true); 167 checkOption(ch, SO_REUSEPORT, false); 174 static void checkOption(AsynchronousServerSocketChannel ch, method in class:Basic
|
/openjdk10/jdk/test/com/sun/nio/sctp/SctpMultiChannel/ |
H A D | SocketOptionTests.java | 58 <T> void checkOption(SctpMultiChannel smc, SctpSocketOption<T> name, method in class:SocketOptionTests 69 checkOption(smc, name, value); 101 checkOption(smc, SCTP_INIT_MAXSTREAMS, streams); 113 checkOption(smc, SCTP_NODELAY, true); 117 checkOption(smc, SO_LINGER, -1); /* default should be negative */ 122 checkOption(smc, SO_LINGER, 2000);
|