Node A sends 2 packets to node B (node B has 2 available buffer size), if node A has sent 2 packets, and the 2 packets were successfully received by node B. Node B sent the acknowledgement to A but for some reason it has been delayed. If the retransmission of the packet has to be delayed until node A gains credit to be able to send another packet, What if the delayed Acknowledgment of that packet was received after timeout happens and before the node A gains the credit , will it have to resend the not Acked packet? i.e. whatever the case that happened, does every timeout must have retransmission ?
edit:
the credit at the node A is the effective window
and here is a link from the I got this pic from: http://slideplayer.com/slide/16761168/