Class SocketUtil

java.lang.Object
org.pentaho.di.core.util.SocketUtil

public class SocketUtil extends Object
Utility class for socket related methods
  • Method Details

    • connectToHost

      public static void connectToHost(String host, int port, int timeout) throws KettleException
      Attempts to connect to the specified host, wrapping any exceptions in a KettleException
      Parameters:
      host - the host to connect to
      port - the port to connect to
      timeout - the timeout
      Throws:
      KettleException