public ServerSocket createServerSocketUsingPortRange(InetAddress ba,int backlog,boolean isBindAddress,boolean useNIO,int tcpBufferSize,int[] tcpPortRange) throws IOException {
  return createServerSocketUsingPortRange(ba,backlog,isBindAddress,useNIO,tcpBufferSize,tcpPortRange,sslConfig.isEnabled());
}

public ServerSocket createServerSocketUsingPortRange ( InetAddress ba , int backlog , boolean isBindAddress , boolean useNIO , int tcpBufferSize , int [ ] tcpPortRange ) throws IOException { return createServerSocketUsingPortRange ( ba , backlog , isBindAddress , useNIO , tcpBufferSize , tcpPortRange , sslConfig . isEnabled ( ) ) ; }
creates or bind server socket to a random port selected from tcp - port - range which is same as membership - port - range .
