I have a server socket listening on port 5077 and waiting for client connections

boolean listening = true;
while (listening)
new ServerThread(server.accept()).start();
where ServerThread...