Patent ID: 8255560

Claim:
A data transfer apparatus coupled to an other data transfer apparatus, the data transfer apparatus comprising: a transmitter that transmits a sequence of a plurality of packets each including a header and data to a receiver of the other data transfer apparatus, the transmitter comprising: a first counter that counts a first sequence number of the plurality of packets to be transmitted to the receiver of the other data transfer apparatus; a first generating unit that generates an error check code for checking an error in each packet on the basis of the header and the data in each packet and a first sequence number corresponding to each packet; and a transmitting unit that transmits each packet with each generated error check code to the receiver of the other data transfer apparatus; and a receiver that receives a plurality of packets transmitted from a transmitter of the other data transfer apparatus, the receiver comprising: a second counter that counts a second sequence number of the plurality of packets received from the transmitter of the other data transfer apparatus; a second generating unit that generates an error check code for checking an error in each packet on the basis of the header and the data in each packet received from the transmitter of the other data transfer apparatus and the second sequence number corresponding to each packet; and an error check unit that checks an error in the sequence of the plurality of packets by comparing the error check code generated by the second generating unit and each error check code transmitted with each packet from the transmitter, wherein the error check unit requests the transmitter to retransmit the packet when the error check code generated by the second generating unit does not match the error check code transmitted with each packet from the transmitter of the other data transfer apparatus.