Package prompto.utils

Class SocketUtils


  • public abstract class SocketUtils
    extends Object
    • Constructor Detail

      • SocketUtils

        public SocketUtils()
    • Method Detail

      • findAvailablePortInRange

        public static int findAvailablePortInRange​(int min,
                                                   int max)
                                            throws IOException
        Throws:
        IOException
      • isAvailablePort

        public static boolean isAvailablePort​(int port)