- priority: 5 --> 8
- summary: Acceptor application don´t accept any initiator if is a 250 --> Acceptor don´t accept any initiator if is a 300 sessions
For example if i have the following C++ code for my Acceptor application:
FIX::SessionSettings settings("conf/FIXServer.cfg");
FIX::Dictionary dictionary;
vector<string> userList = PersistenciaServer.GetUserNames(); //PersistenciaServer is my database access object
for (int i=0; i<(int)userList.size(); i++)
settings.set(FIX::SessionID(FIX::BeginString("FIX.4.3"), FIX::SenderCompID("DSERV"), FIX::TargetCompID(userList[i])), dictionary);
FIX::FileStoreFactory storeFactory( settings );
FIX::ScreenLogFactory logFactory( false, false, false );
FIX::SocketAcceptor acceptor( Aplicacion, storeFactory, settings, logFactory );
acceptor.start();
while (true) FIX::process_sleep(1);
acceptor.stop();
There are 300 user names, then are 300 sessions created.
Any of this 300 initiators can connect to the Acceptor application.
For other hand, if i have the following C++ code for my Acceptor application:
FIX::SessionSettings settings("conf/FIXServer.cfg");
FIX::Dictionary dictionary;
vector<string> userList = PersistenciaServer.GetUserNames(); //PersistenciaServer is my database access object
for (int i=0; i<150; i++)
settings.set(FIX::SessionID(FIX::BeginString("FIX.4.3"), FIX::SenderCompID("DSERV"), FIX::TargetCompID(userList[i])), dictionary);
FIX::FileStoreFactory storeFactory( settings );
FIX::ScreenLogFactory logFactory( false, false, false );
FIX::SocketAcceptor acceptor( Aplicacion, storeFactory, settings, logFactory );
acceptor.start();
while (true) FIX::process_sleep(1);
acceptor.stop();
There are 150 sessions created.
All of this 150 initiators can connect to the Acceptor application.