public abstract class SocketUtils extends Object
| Constructor and Description |
|---|
SocketUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
findAvailablePortInRange(int min,
int max) |
static boolean |
isAvailablePort(int port) |
public static int findAvailablePortInRange(int min,
int max)
throws IOException
IOExceptionpublic static boolean isAvailablePort(int port)
Copyright © 2020 Prompto. All rights reserved.