example.remote.interface.demo/src/terra/harvest/standalone/demo/RemoteInterfaceStandaloneDemo.java
private Socket connectToController() throws UnknownHostException, IOException
    {
        Socket socket = new Socket("localhost", 4000);
        socket.setSoTimeout(2000);
        return socket;
    }
/**
     * Create a socket to a controller software running on the local machine
     * 
     * @return the instantiated socket
     */
Create a socket to a controller software running on the local machine

@return the instantiated socket
Create a socket to a controller software running on the local machine @return the instantiated socket
private Socket connectToController() throws UnknownHostException, IOException
    {
        Socket socket = new Socket("localhost", 4000);
        socket.setSoTimeout(2000);
        return socket;
    }
private Socket connectToController ( ) throws UnknownHostException , IOException { Socket socket = new Socket ( "localhost" , 4000 ) ; socket . setSoTimeout ( 2000 ) ; return socket ; }
Create a socket to a controller software running on the local machine
Create a socket to a controller software running on the local machine