Support Board
Date/Time: Tue, 11 Mar 2025 05:12:27 +0000
Post From: SerraChart as a DTC Protocol Client
[2023-09-08 16:00:42] |
d9e5c763 - Posts: 111 |
It looks like my issue has been resolved. The key was the compiler directives in the header file. cat dtc.h | grep pragma #pragma once // not beneficial. So this could be changed to #pragma pack(1). It is #pragma pack(push, 8) #pragma pack(push, 1) #pragma pack(pop) #pragma pack(push, 1) #pragma pack(pop) #pragma pack(push, 1) #pragma pack(pop) #pragma pack(push, 1) #pragma pack(pop) #pragma pack(push, 1) #pragma pack(pop) #pragma pack(pop) The message types that didn't have issues are all tightly packed. As for the JSON information, I also found some related discussions, such as this one on Sierra Chart's support board(DTC Server only sending MARKET_DATA_UPDATE_TRADE_COMPACT). Perhaps my earlier issues are related to this. |