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
IOException
Copyright © 2024. All rights reserved.