Understanding byte order and functions like CFSwapInt32HostToBig
- by Typeoneerror
I've got an enumeration in my game. A simple string message with an appended PacketType is being sent with the message (so it knows what to do with the message) over GameKit WIFI connection. I used Apple's GKRocket sample code as a starting point.
The code itself is working fantastically; I just want to understand what the line with…