Method Summary |
|
public static boolean | available(int port) Checks to see if a specific port is available. |
public static Set<Integer> | getAvailablePorts() Returns the
Set of currently available port numbers
(
Integer ). |
public static Set<Integer> | getAvailablePorts(int fromPort, int toPort) Returns the
Set of currently avaliable port numbers (
Integer )
between the specified port range. |
public static int | getNextAvailable() Gets the next available port starting at the lowest port number. |
public static int | getNextAvailable(int fromPort) Gets the next available port starting at a port. |