Searched refs:startingPort (Results 1 - 1 of 1) sorted by relevance

/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/net/
H A DNetUtils.java460 * @param startingPort starting port in the range
464 public static int getFreePort(String hostName, int startingPort, int endingPort) { argument
465 int range = endingPort - startingPort;
470 port = r.nextInt(range + 1) + startingPort;

Completed in 664 milliseconds