FIX 4.2 Resend Request / Gap Fill trouble

Imported from previous forum

Wondering if anyone can provide properly example of coding for FIX 4.2?
These are the issues I am facing:

My Resend requests are being based off of my seq #, not the sender’s. Im asking for seq # 79 and up when I should be asking for # 84 and up (since he last saw 83 from sender)…After sender resends the messages, I ask for them again, as if I did not understand them (asks for seq # 84 and up, which was already re-sent)…Then I ask for # 88 and up, why?
This whole time, I am leaving gaps in my seq #, jumping from 78 to 79 to 84 to 88, then sending #88 again. Can someone advise without looking at my code and possibly offer a chain of sample code for me to adjust and try out?

Much appreciation,
Mike

If you are the receiver, why would you base your resend requests to the sender on your own sequence numbers? You use resend requests to fill gaps in the message stream from the sender. The sender does not know where you have gaps and must therefore honor all resend requests even if they are “jumpy”. Equally, you have no idea about gaps occurring on the side of the sender. Maybe I do not understand the issue properly, maybe your description is not good enough, maybe both.

Wondering if anyone can provide properly example of coding for FIX 4.2?
These are the issues I am facing:

My Resend requests are being based off of my seq #, not the sender’s. Im asking for seq # 79 and up when I should be asking for # 84 and up (since he last saw 83 from sender)…After sender resends the messages, I ask for them again, as if I did not understand them (asks for seq # 84 and up, which was already re-sent)…Then I ask for # 88 and up, why?
This whole time, I am leaving gaps in my seq #, jumping from 78 to 79 to 84 to 88, then sending #88 again. Can someone advise without looking at my code and possibly offer a chain of sample code for me to adjust and try out?

Much appreciation,
Mike