Class SocketUtil


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

      • 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