[Quickfix-developers] Getting an acceptor to accept multiple clients
Brought to you by:
orenmnero
From: Hayyan R. <hay...@ho...> - 2011-06-20 12:15:09
|
Hi I jsut wrote an acceptor in c++ using quick fix and a C# initiator connects to the acceptor and places an order. Thats all well and good. However i have a problem. the acceptor depends on a config file such as the one below [DEFAULT] ConnectionType=acceptor SocketAcceptPort=5001 SocketReuseAddress=Y StartTime=00:00:00 EndTime=00:00:00 FileLogPath=log FileStorePath=c:\fixfiles [SESSION] BeginString=FIX.4.2 SenderCompID=EXECUTOR TargetCompID=CLIENT1 DataDictionary=c:\fixfiles\FIX42.xml the acceptor has to know the name of the initiator in advance before it makes a connection. IS there any way by which we can add multiple clients in this file currently the above file expects Client1 to connect since it has "TargetCompID=CLIENT1" how can i make my acceptor accept connections from CLIENT2 and CLIENT 3?? |