OnixS C++ FIX Engine 2.79.1.0
Resetting Message Sequence Numbers via ResetSeqNumFlag Field

ResetSeqNumFlag (141) field in the Logon (A) message indicates that both sides of the FIX Session should reset sequence numbers.

To send a Logon (A) message with this field during FIX Connection establishment, use the setResetSeqNumFlag parameter of the OnixS::FIX::Session::logonAsInitiator method.

It is also possible to send a Logon (A) message with the ResetSeqNumFlag (141) set when the FIX Session is established (e.g. to maintain 24 hour connectivity) using OnixS::FIX::Session::resetSeqNumViaLogonExchange method.