5 ms·
I think you mean "packed" structs. Otherwise you've got padding in your communication protocol. If you do this you also need to be careful of byte order.
by rkangel 1y ago
I think you mean "packed" structs. Otherwise you've got padding in your communication protocol.
If you do this you also need to be careful of byte order.
- 4gotunameagain 1y agoYeah you're right, I mixed it up with unpadded ! And you're right about the second point as well, typically there will be network order to cpu order macros to ensure portability