tadams
-Interested User-
Posts: 18
Joined: May 7, 2004
|
Posted: May 19, 2004 11:08 PM
Msg. 1 of 1
Previous versions of IQFeed did not decrement the connection count (can't vouch for any internal code/resources) within the IQ Connection Manager once a TCP/IP-based application disconnected from it. There's no real damage done unless ~2000 connections are made. At this point, the IQ Connection Monitor does the equivalent of a Dr Watson.
Unfortunately it looks like this is still hanging around in 2.3.
I've written plenty of code to try to catch IQFeed crashes and react properly. One precaution is to make a new local TCP connection for each distinct request. If the connection fails, something is wrong. I never assume a port opened much earlier is still running and available for use. The result is many connections/disconnections. This shouldn't be an issue for DTN since these connections are all internal to my PC.
Advice?
Ted
|