Sliding window as client-server program