Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Won't Do
-
0.9.2
-
None
Description
This happens at least in TFramedTransport, where -flush manually swaps the length. Except, on a big-endian platform, it just swapped it from network byte order.
For 32-bit values, htonl() will suffice, though the CFSwap… or NSSwap… families might be a better choice depending on the types in play.