Class SocketUtils


  • public class SocketUtils
    extends java.lang.Object
    This is SocketUtils.
    Since:
    5.3.0
    • Constructor Summary

      Constructors 
      Constructor Description
      SocketUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isTcpPortAvailable​(int port)
      Is tcp port available.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SocketUtils

        public SocketUtils()
    • Method Detail

      • isTcpPortAvailable

        public static boolean isTcpPortAvailable​(int port)
        Is tcp port available.
        Parameters:
        port - the port
        Returns:
        true/false