Protocol which has stop and wait and Sliding window