Re: [Quickfix-developers] multi SocketAcceptPort definition for Acceptor
Brought to you by:
orenmnero
|
From: Djalma R. d. S. F. <drs...@gm...> - 2007-04-24 14:29:36
|
Yes, it is possible. If the QF version you are using is above 1.12. In quickfix/NEWS you will find the following: 1.12.0 ------ SocketAcceptor and ThreadedSocketAcceptor can listen for connections on multiple ports. SocketAcceptPort no longer needs to be in the DEFAULT section and can be assigned to sessions. Sessions can share accepting ports like before. Isn't it working for you? Regards, Djalma On 4/24/07, Petr Postulka <pet...@em...> wrote: > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi all, > > I want to ask if it is possible to specify different socket ports for > different sessions on Acceptor. > Something like this: > > # default settings for sessions > [DEFAULT] > ConnectionType=acceptor > SocketAcceptPort=5005 <-this one I want to override > HeartBtInt=30 > FileLogPath=... > FileStorePath=... > > [SESSION] > TargetCompID=Session1 > BeginString=FIX.4.1 > SenderCompID=Sender > StartTime=06:30:00 > EndTime=05:30:00 > HeartBtInt=30 > SocketAcceptPort=1 <- here Im overriding socket port for this session > DataDictionary=... > CheckLatency=N > > [SESSION] > TargetCompID=Session2 > BeginString=FIX.4.1 > SenderCompID=Sender > StartTime=06:30:00 > EndTime=05:30:00 > HeartBtInt=30 > SocketAcceptPort=2 <- here Im overriding socket port for this session > DataDictionary=... > CheckLatency=N > > Or if it is not possible, is there some other way, how to solve it? > > Thanks for your help. > > Petr Postulka > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |