public final class PortUtils extends Object
Utility methods to deal with ports.
| Modifier and Type | Method and Description |
|---|---|
static int |
freePort()
Retrieve a free port on the current system.
|
public static int freePort()
throws IOException
IOException - in case of an error retrieving a free portCopyright © 2011-2017 CoreMedia AG. All Rights Reserved.