mil.dod.th.ose.remote.integration/src/mil/dod/th/ose/remote/integration/base/TestSocketChannel.java
@Test
    public void testSequentialConnect() throws UnknownHostException, IOException
    {
        // want to try to connect several times, just an arbitrary high number
        for (int i=0; i < 30; i++)
        {
            Socket socket = SocketHostHelper.connectToController();
            socket.close();
        }
    }
/**
     * Verify connection can be made to the default port for sockets.
     * Verify multiple connections can be made one after another
     */
Verify connection can be made to the default port for sockets.
Verify multiple connections can be made one after another
Verify connection can be made to the default port for sockets . Verify multiple connections can be made one after another
@Test
    public void testSequentialConnect() throws UnknownHostException, IOException
    {
        for (int i=0; i < 30; i++)
        {
            Socket socket = SocketHostHelper.connectToController();
            socket.close();
        }
    }
@ Test public void testSequentialConnect ( ) throws UnknownHostException , IOException { for ( int i = 0 ; i < 30 ; i ++ ) { Socket socket = SocketHostHelper . connectToController ( ) ; socket . close ( ) ; } }
Verify connection can be made to the default port for sockets.
Verify connection can be made to the default port for sockets .
// want to try to connect several times, just an arbitrary high number