//cria socket servidor
this.serverSocket = new ServerSocket(Server.PORT);
while (!finish) {
this.clientSocket = this.serverSocket.accept();
this.socketCommunication = new TCPComunication(this.clientSocket);
System.out.println("Connection received from " + this.clientSocket.getInetAddress().getHostName());
new Thread(new ClientManager(this.socketCommunication), "RECEPTOR").start();
}
this.serverSocket.close();