2614N/A * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 2614N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 2614N/A * This code is free software; you can redistribute it and/or modify it 2614N/A * under the terms of the GNU General Public License version 2 only, as 2614N/A * published by the Free Software Foundation. 2614N/A * This code is distributed in the hope that it will be useful, but WITHOUT 2614N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 2614N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 2614N/A * version 2 for more details (a copy is included in the LICENSE file that 2614N/A * You should have received a copy of the GNU General Public License version 2614N/A * 2 along with this work; if not, write to the Free Software Foundation, 2614N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2614N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2614N/A * or visit www.oracle.com if you need additional information or have any 2614N/A * @summary Test socket adapter sendUrgentData method 2614N/A // establish loopback connection 2614N/A // enable SO_OOBLINE on server side 2614N/A * Basic test to check that OOB/TCP urgent byte is received. 2614N/A for (
int i=
0; i<
1000; i++) {
2614N/A * Basic test to check that OOB/TCP urgent byte is received, maybe with 2614N/A * Test that is close to some real world examples where an urgent byte is 2614N/A * used to "cancel" a long running query or transaction on the server.