public void run() {
		try {
			InputStream in = s.getInputStream();
			BufferedReader reader = new BufferedReader(new InputStreamReader(in));

			String line;
			while ((line = reader.readLine()) != null) {
				// write to all the clients
				messages.add(line);
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}