RE: [Quickfix-developers] Help - multiple client connections
Brought to you by:
orenmnero
From: Miller, O. <OM...@ri...> - 2003-06-06 13:25:58
|
Paul, =20 You cannot have two connections established with the same BeginString/SenderCompID/TargetCompID. This is a unique identifier that FIX must use to maintain a set of sequence numbers. Attempting to connect two times with the same session id will not succeed. =20 =20 What you can do is establish one connection and use the SenderSubID field to indicate which path of execution the message should follow. Alternatively you can have two connections, but you will need two different TargetCompIDs for your client to connect to. =20 --oren -----Original Message----- From: Paul Beechey [mailto:pau...@ai...]=20 Sent: Friday, June 06, 2003 7:01 AM To: qui...@li... Subject: [Quickfix-developers] Help - multiple client connections =20 Hi List, =20 I have developed a client application based upon threadedsocketinitiator. (Quickfix C++) =20 I am running the basic executor program to process messages from this client. =20 In the client I want to have 2 connections to the executor as we route order flow within our system along 2 separate paths. =20 When I now start my client the fist connection is created successfully and a login message is sent out. The second connection however just sits there doing nothing, i.e. not logging on to the executor. Please note that I do not want each of these connections to have a separate SenderCompID! Is there away to accomplish this architecture? =20 Many thanks in advance, any help would be greatly appreciated. =20 Paul Beechey =20 ----------------------------------------- This email and any attachments are confidential and may be legally privileged. No confidentiality or privil= ege is waived or lost by any transmission in error. If you are not the inte= nded recipient you are hereby notified that any use, printing, copying or di= sclosure is strictly prohibited. Please delete this email and any attachmen= ts, without printing, copying, forwarding or saving them and notify the send= er immediately by reply e-mail. The company reserves the right to monitor a= ll e-mail communications through its networks. Unless otherwise stated, any= financial results or price data contained in this email are indicative only= and are subject to change without notice. |