2362N/A * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. 1326N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1326N/A * This code is free software; you can redistribute it and/or modify it 1326N/A * under the terms of the GNU General Public License version 2 only, as 1326N/A * published by the Free Software Foundation. 1326N/A * This code is distributed in the hope that it will be useful, but WITHOUT 1326N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1326N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1326N/A * version 2 for more details (a copy is included in the LICENSE file that 1326N/A * You should have received a copy of the GNU General Public License version 1326N/A * 2 along with this work; if not, write to the Free Software Foundation, 1326N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 1326N/A * @summary Tests the SCTP protocol implementation 1326N/A /* Latches used to synchronize between the client and server so that 1326N/A * connections without any IO may not be closed without being accepted */ 1326N/A /* requested to connecct to a specific address */ 1326N/A /* start server on local machine, default */ 1326N/A /* setup an association implicitly by sending a small message */ 1326N/A "buffers position should have been incremented by sent");
1326N/A "branched channel should be bound");
1326N/A "branched channel should be connected");
1326N/A "there should be no associations since the only one was branched off");
1326N/A "message not sent on the correct stream");
1326N/A "received message not the same as sent message");
1326N/A /* receive a small message */ 1326N/A "message not sent on the correct stream");
1326N/A "received message not the same as sent message");
1326N/A /* A ShutdownNotification handler is provided to ensure that no 1326N/A * shutdown notification are being handled since we don't expect 1326N/A * to receive them. This is not part of branch testing, it just 1326N/A * fits here to test another bug. */ 1326N/A //--------------------- Infrastructure ---------------------------