public void sendString(String msg, MultipleTalkServer server, String str) {
    	try {
            for (int i=0; i < server.socket.size()-1; i++){
                if(str.equals(server.socket.get(i).getName())){
                    OutputStream ostream = server.socket.get(i).getSocket().getOutputStream();
                    PrintWriter pw = new PrintWriter(ostream, true);
                    pw.println(msg);
                }
            }
        } catch (Exception err) {
             JOptionPane.showMessageDialog(null, "Erro ao enviar String", null, JOptionPane.PLAIN_MESSAGE , null);
        }
    }