{{Quickfixn}} Sending Email Message Problem

somnath pal palsomnath at hotmail.com
Wed Jul 9 10:40:36 PDT 2025


I did the followings. Are these correct way to do this or there is a better way?

            DualEngineAcceptor.Stop(true);

            //Check if all sessions are terminated and removed
            var sessionList = DualEngineAcceptor.GetSessionIDs();

            if (sessionList.Count > 0)
            {
                //Sessions are still attached
                foreach (var sessionId in sessionList)
                {
                    //Terminate and remove
                    if (sessionId != null) DualEngineAcceptor.RemoveSession(sessionId, true);
                }
            }

            //Dispose
            DualEngineAcceptor.Dispose();
            DualEngineAcceptor = null;

Thanks,
Somnath
________________________________
From: Quickfixn <quickfixn-bounces at lists.quickfixn.com> on behalf of Grant Birchmeier <gbirchmeier at connamara.com>
Sent: 09 July 2025 20:58
To: Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
Subject: Re: {{Quickfixn}} Sending Email Message Problem

When you say "it removes the session," do you actually mean it resets the sessions?

If yes, it sounds like it may be related to your "ResetOn<X>" configurations.

This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. Thank you from Connamara Systems, LLC.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20250709/3766d457/attachment-0001.htm>


More information about the Quickfixn mailing list