public class SocketUtils extends Object
| Constructor and Description |
|---|
SocketUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getUnusedPort()
Returns an unused port in the localhost.
|
public static int getUnusedPort()
throws IOException
IOExceptionCopyright © 2023. All rights reserved.