Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"I use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - Comment from Public Forum
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler via Email
"Its working FABULOUSLY for me!! Holy cow...there has been so much I've been missing lately, and with this feed and Linnsoft software...I'm in the game now." - Comment from Chris R.
"Everything is working great ! Very impressive client. The news refreshes better and is more pertinent than the ******* feed I paid $ 100/month for. I Also like the charts a lot." - Comment from Leon
"For anyone considering using DTN.IQ for a data feed, my experience with the quality of data and the tech support has been very positive." - Comment from Public Forum
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Archive (2017 and earlier) »IQFeed Developer Support »ensuring iqconnect is up
Author Topic: ensuring iqconnect is up (3 messages, Page 1 of 1)

steve1986
-DTN Evangelist-
Posts: 119
Joined: Apr 13, 2009


Posted: Apr 1, 2012 10:54 PM          Msg. 1 of 3
I'm making the switch over from linking iq32.dll to using the ShellExecute method.

However, I'm finding some timing issues as to knowing whether or not IQConnect has been properly started. From reading the documentation, it appears I need to query the Admin port and wait for the specific message stating that the connection is up.

One question I have is do I need to maintain a persistent Admin connection in a thread? My app currently does historical data calls to the historical port, so it doesn't maintain a connection to the real-time port which I know would keep IQConnect up. If I close the connection to the Admin port, will IQConnect exit after a certain amount of time?

thanks,

Steve

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: Apr 2, 2012 08:24 AM          Msg. 2 of 3
It is recommended that you maintain a connection to the admin port to monitor feed status and/or clientstats.

IQConnect will exit 5s after the last client disconnects. Maintaining the admin port connnection will guarantee that the feed doesn't exit.

steve1986
-DTN Evangelist-
Posts: 119
Joined: Apr 13, 2009


Posted: Apr 2, 2012 07:37 PM          Msg. 3 of 3
Okay thanks Steve.
 

 

Time: Fri May 3, 2024 11:24 AM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003