public ServerThread(IPacketProcessor packetProcessor, int port) {
		super();
		this.packetProcessor = packetProcessor;
		
		try {
			socket = new DatagramSocket(port);
			start();
		} catch (java.lang.IllegalArgumentException e) {
			packetProcessor.onError(ModelNotification.CONNECTION_ERROR);
		} catch (SocketException e) {
			packetProcessor.onError(ModelNotification.CONNECTION_ERROR);
		}
	}