On Oct 31, 2017, at 12:47 PM, Gordon Messmer gordon.messmer@gmail.com wrote:
If this is an application that you've developed in-house, you should be using htonl() to convert your 32-bit values to network byte order
…or its superset, XDR [1] …or use a text format (XML, JSON, YAML, SQL, CSV…) …or use a binary serialization of same (BSON, CBOR, Binary XML…) …or use FlatBuffers [2] …or use ASN.1 [3]
or, or or. This problem is *solved*. The only difficult part is choosing which of the many available solutions to use.
[1]: https://en.wikipedia.org/wiki/External_Data_Representation [2]: https://en.wikipedia.org/wiki/FlatBuffers [3]: https://en.wikipedia.org/wiki/Abstract_Syntax_Notation_One