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 »Update messages over TCP/IP socket
Author Topic: Update messages over TCP/IP socket (3 messages, Page 1 of 1)

rfloydman
-Interested User-
Posts: 4
Joined: Mar 2, 2015


Posted: Mar 2, 2015 10:53 PM          Msg. 1 of 3
I have subscribed to receive a symbol over Level 1 TCP/IP and it's all working OK until i certain time where i seem to receive incomplete data. E.g. I receive 8 fields in the update message when i subscribed to 10.

When IQFeed sends an update message for a symbol should i expect all the fields that i subscribed to at once? Or could the update been broken up into multiple messages? I'm currently assuming all at once but i suspect that it's the later.

Thanks.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Mar 2, 2015 11:32 PM          Msg. 2 of 3
Good evening,

All messages will be sent with 10 fields, but it is possible to receive an incomplete message due to TCP/IP breaking up the send, and when that occurs you need to save off the partial message and marry it to the data in the next packet. I believe all of our level one examples should illustrate how to handle that, but let me know if you have questions on it, or if what I mention here does not sound like what you are seeing.

Tim

rfloydman
-Interested User-
Posts: 4
Joined: Mar 2, 2015


Posted: Mar 2, 2015 11:38 PM          Msg. 3 of 3
Thanks Tim i'll check out the examples.
 

 

Time: Mon June 30, 2025 5:22 PM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003