public static void chargeSocket(MultipleTalkServer server){
        if(!isFull){
            SocketsTCP s = new SocketsTCP();
            server.socket.add(s);
            try{
                server.socket.getLast().setSocket(server.mainSocket.accept());
            }catch (Exception err) {
                JOptionPane.showMessageDialog(null, err.getMessage(), null, JOptionPane.PLAIN_MESSAGE , null);
            }
            t = new SimpleThread(server.socket.getLast(), server);
            t.start();
            if(server.socket.size() >= 15){
                isFull = true;
            }
        }
        else{
            JOptionPane.showMessageDialog(null, "O servidor atingiu o limite de usuários", "Alerta!", JOptionPane.PLAIN_MESSAGE , null);
            if(server.socket.size() < 15){
                isFull = false;
            }
        }
    }