public class SocketUtil extends Object
Constructor and Description |
---|
SocketUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
connectToHost(String host,
int port,
int timeout)
Attempts to connect to the specified host, wrapping any exceptions in a KettleException
|
public static void connectToHost(String host, int port, int timeout) throws KettleException
host
- the host to connect toport
- the port to connect totimeout
- the timeoutKettleException