A method of controlling an information processing apparatus, comprising:
- transmitting a data block including a predetermined amount of data and a sequence number;
- receiving the transmitted data block;
- determining whether the data block is correctly received, based on a result of detection of an error in data included in the received data block and a result of comparison between a value of a counter stored in a storage unit and a value of the sequence number included in the received data block;
- counting up the value of the counter stored in the storage unit by a predetermined value, according to said determining;
- and
- counting up the value of the counter stored in the storage unit by a predetermined value, in a case where it is determined by said determining a predetermined number of times that the data block is not correctly received.