Package prompto.utils
Class SocketUtils
- java.lang.Object
-
- prompto.utils.SocketUtils
-
public abstract class SocketUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description SocketUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intfindAvailablePortInRange(int min, int max)static booleanisAvailablePort(int port)
-
-
-
Method Detail
-
findAvailablePortInRange
public static int findAvailablePortInRange(int min, int max) throws IOException- Throws:
IOException
-
isAvailablePort
public static boolean isAvailablePort(int port)
-
-