while (true) {
ServerSocket myServerSocket = new ServerSocket(9999);
Socket skt = myServerSocket.accept();
Handling obj = new Handling();
obj.handle(skt);
}
When i first try this it works fine and accepts the Socket but then when it loops back it says the address is in use. How do I fix this?