|
TUM CCSM Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.tum.cs.commons.net.SocketUtils
public class SocketUtils
Utility methods used in conjunction with sockets.
| Constructor Summary | |
|---|---|
SocketUtils()
|
|
| Method Summary | |
|---|---|
static int |
getFreePort()
Returns a new free TCP port number |
static boolean |
isFreePort(int portNumber)
Checks whether the given TCP port is available. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SocketUtils()
| Method Detail |
|---|
public static boolean isFreePort(int portNumber)
public static int getFreePort()
throws java.io.IOException
java.io.IOException
|
TUM CCSM Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||