Class NetUtil


  • public class NetUtil
    extends Object
    Some network utility methods.
    Since:
    4.5
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • NetUtil

        public NetUtil()
    • Method Detail

      • available

        public static boolean available​(int port)
        Checks if a port is available
        Parameters:
        port - The port to check
        Returns:
        true id the port is available