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)




"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
"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
"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.
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"I had always used ******* but for the past 2 weeks have been trying DTN IQFeed. Customer support has been extraordinary. They call just to make sure your problem hasn't recurred." - Comment from Public Forum
"I use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - 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 »IQFeed under Wine quits after a connection is closed
Author Topic: IQFeed under Wine quits after a connection is closed (6 messages, Page 1 of 1)

philhq
-Interested User-
Posts: 4
Joined: May 15, 2011


Posted: May 15, 2011 04:09 AM          Msg. 1 of 6
I'm running IQFeed on Linux using WINE and I'm having issues when I close an open connection to IQFeed. Basically this is what happens:

1. Start IQFeed (wine IQConnect.exe ...)
2. Telnet 127.0.01 5009

At that point, everything looks good I get a timestamp every seconds. The problem occured when I close the connection.

3. CTRL+C or kill -9 PID

After this command, the telnet process is terminated and IQFeed is terminated right after. The same thing happens if I connect programmatically using PHP or Ruby for example.

I didn't see any error messages though one might have been logged somewhere but I couldn't find any log file.

Any help is appreciated!

Thanks!

DTN_Jay_Froscheiser
-VP, Product Operations-
Posts: 1746
Joined: May 3, 2004

DTN IQFeed/DTN.IQ/DTN NxCore


Posted: May 15, 2011 08:14 AM          Msg. 2 of 6
This is by design. Closing the last connection to IQFeed will cause it to shut down. You need to maintain a connection to Iqfeed through the admin port so you can interact and ensure it is running.

Jay Froscheiser
Telvent DTN

philhq
-Interested User-
Posts: 4
Joined: May 15, 2011


Posted: May 16, 2011 06:43 AM          Msg. 3 of 6
Hi Jay,

This helps a great deal. Thank you for your prompt reply!

philhq
-Interested User-
Posts: 4
Joined: May 15, 2011


Posted: May 29, 2011 03:16 AM          Msg. 4 of 6
Quote: This is by design. Closing the last connection to IQFeed will cause it to shut down. You need to maintain a connection to Iqfeed through the admin port so you can interact and ensure it is running.

--- Original message by DTN_Jay_Froscheiser on May 15, 2011 08:14 AM
I did a few tests and even if I have an admin connection open IQFeed still exit. Does the admin/client connection needs to send a command so it doesn't exit?

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


Posted: May 31, 2011 08:19 AM          Msg. 5 of 6
My aplogies for the misinformation philhg. As Jay said, a connection needs to be maintained but instead of the Admin port, it needs to be maintained on the Level 1 port. IQConnect automatically shuts down as soon as all Level 1 ports are disconnected.

philhq
-Interested User-
Posts: 4
Joined: May 15, 2011


Posted: Jun 1, 2011 10:21 PM          Msg. 6 of 6
Oh I see, Thank you!
 

 

Time: Wed April 24, 2024 4:09 AM CFBB v1.2.0 48 ms.
© AderSoftware 2002-2003