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 © 2022. All rights reserved.