public void run() {
			Scanner scanner = new Scanner(System.in);
			String message = "";
			try {
				if (out != null) {
					out.writeUTF(name);
				}

				while (out != null) {
					if ((message = scanner.nextLine()).charAt(0) == '@') {
						continue;
					}
					if (chat){
						out.writeUTF("[" + name + "]" + message);
					}
				}
			} catch (IOException e) {
			}
		} // run()