public class CheckSocket extends Object
| Constructor and Description |
|---|
CheckSocket() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
remotePortTaken(String node,
int port,
int timeout)
Check if a remote port is taken
|
public static boolean remotePortTaken(String node, int port, int timeout)
node - the host to checkport - the port to checktimeout - the timeout for the connectionCopyright © 2021. All rights reserved.