Patent ID: 8532582

Claim:
A method for controlling communication comprising: determining in which a first communication device refers to a buffer including a transmission buffer retaining a transmission frame transmitted from the first communication device and a reception buffer retaining a reception frame received from a second communication device, and determines whether a remaining amount of the reception buffer is equal to or less than a predetermined amount; inserting, during a period in which the remaining amount of the reception buffer is determined to be equal to or less than the predetermined amount, a transmission control signal for stopping transmission performed by the second communication device into all idle sections of data transmitted to the second communication device, the data including a data section with information and the idle section without information; transmitting the data into which the transmission control signal is inserted to the second communication device; receiving in which the second communication device receives the data including the data section and the idle section; and controlling including stopping the data transmission while the transmission control signal is detected from the received data, and resuming the data transmission when the transmission control signal is not detected from the received data.