a method for transmitting data is described that includes the steps of : producing a data frame for transmission , the data frame including a sequence number and user data , saving a copy of the data frame in a retransmission buffer , and if said step of saving a copy requires that data already present in the retransmission buffer is overwritten , selecting the one or more oldest data frames in the retransmission buffer to be overwritten , in case an error is determined in the received data frame , communicating an error message to the transmitter of the data frame , which error message at least comprises an indication of the sequence number of the last correctly received data frame ,— upon receipt of such message and if available , retransmitting one or more data frames from the retransmission buffer having a sequence number higher than the sequence number communicated in the message .