earik
-Interested User-
Posts: 13
Joined: May 10, 2004
|
Posted: May 10, 2004 12:04 PM
Msg. 1 of 5
I'm trying to get my application and another application both running on the same computer using one IQConnect. The problem is that the 2nd app can never register since IQConnect seems to only allow one connection at a time. Does anyone know how I can detect if IQConnect.exe is already running so I know whether or not to call the register function?
Thanks,
Earik
|
DTN_Jay_Froscheiser
-VP, Product Operations-
Posts: 1746
Joined: May 3, 2004
DTN IQFeed/DTN.IQ/DTN NxCore
|
Posted: May 10, 2004 05:13 PM
Msg. 2 of 5
Quote: I'm trying to get my application and another application both running on the same computer using one IQConnect. The problem is that the 2nd app can never register since IQConnect seems to only allow one connection at a time. Does anyone know how I can detect if IQConnect.exe is already running so I know whether or not to call the register function?
Thanks,
Earik --- Original message by earik on May 10, 2004 12:04 PM The easiest way is try to connect to the IQconnect socket. If its not there, then call the register function. Jay Jay Froscheiser DTN Market Access, LLC.
|
anazarov
-Interested User-
Posts: 15
Joined: May 7, 2004
|
Posted: May 11, 2004 12:28 PM
Msg. 3 of 5
The only problem which you should expect then, when the 1st application will be closed, it will close IQConnect too because it doesn't know about your 2nd application.
|
earik
-Interested User-
Posts: 13
Joined: May 10, 2004
|
Posted: May 13, 2004 03:33 PM
Msg. 4 of 5
Yes, I've noticed that. The one that called registerclientapp has control over all the others because it gets to turn iqconnect off. Any way to detect how many connections iqconnect has got going at a time?
Earik
|
anazarov
-Interested User-
Posts: 15
Joined: May 7, 2004
|
Posted: May 24, 2004 02:23 PM
Msg. 5 of 5
As far as I know it is not possible.
|