@Override
	public void run() {
		try {
			DatagramSocket socket = null;
			socket = new DatagramSocket(6667);
			while (true) {
				DatagramPacket packet = new DatagramPacket(new byte[50],50);
				try {
					socket.receive(packet);
					new Thread(new DatehandlerThread(packet,socket)).start();
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		} catch (SocketException ex){
			ex.printStackTrace();
		}
	}