public void run()
	{
		while (true)
		{
			try
			{
				String message = messages.take();

				Iterator<Socket> iter = sockets.iterator();

				while (iter.hasNext())
				{
					Socket socket = iter.next();
					try
					{
						OutputStream out = socket.getOutputStream();
						PrintWriter writer = new PrintWriter(out);
						writer.println(message);
						writer.flush();
					}
					catch (IOException e)
					{
						e.printStackTrace();
						iter.remove();
					}
				}
			}
			catch (InterruptedException e)
			{
				e.printStackTrace();
			}
		}
	}