public void moveWindow() {
		boolean moveFlag = false;
		for (int i = window[0]; i < window[2]; i++) {
			if (sendData[i].expectedSYN == tempACK) {
				
				window[0] = i + 1;
				window[2] = min(window[0] + WINDOWSIZE, dataLength);
				
				serverSYN = sendData[i].expectedSYN;
				
				moveFlag = true;
				break;
			}
		}
		
		if (!moveFlag) {
			window[1] = window[0];
		}
	}