We need some comments here describing what these two numbers mean. Also, I would prefer the names `resendExpecting` and `resendReceived` but I'll leave that up to you.