This article is applicable to FIX Antenna C++ /.Net since 2.24.0
In some cases an application based on FIX Antenna can be not ready to process incoming connections, whereas it still requires services the engine provides, for example during the application initialization/shutdown processes. In this scenario the application can disable auto start of listening incoming connections in the engine's InitParameters and control listening using engine's API calls. Paused listening sockets stay opened and observable in the system, but engine doesn't accept new incoming connections in this state. The already established connections (both incoming and outgoing) stay operational as well as creation of new outgoing connections.
FixEngine::InitParameters initParams; initParams.startListeningIncomingConnections_ = false; Engine::FixEngine::init(initParams); // ... Engine::FixEngine::singleton()->startListeningIncomingConnections();