donotturnoff / aerend

My third year project
0 stars 0 forks source link

Create `htonid` and `htoncolour` #168

Open donotturnoff opened 2 years ago

donotturnoff commented 2 years ago

Currently, sending ids and colours relies on the fact that they are implemented as 32-bit integers to use htonl. It might be good to hide the implementation by creating functions specially to convert these to network order.