DTC Protocol Discussion Forum
- DTC Protocol Discussion Forum |
- Search Board |
- Control Panel |
- View My Posts / Threads |
- Direct Messages
Date/Time: Mon, 03 Nov 2025 08:02:01 +0000
Post From: Google Protocol buf message header
| [2018-04-14 19:46:15] |
| enemyspy - Posts: 306 |
|
According to the documentation here: https://www.dtcprotocol.org/#GoogleProtocolBuffers each outgoing message needs the s_DTCMessageHeader struct prepend . I noticed that the above struct is not in the DTCPrococol.proto file found here : http://dtcprotocol.org/DTC_Files/DTCProtocol.proto The doc string indicates that it should be prepended by a little endian binary: What is the best solution: -add the struct to the .proto and recompile? -prepend a non protobuf binary struct? Does the header need to a have null terminating seperator? Date Time Of Last Edit: 2018-04-14 19:47:02
|
