I\'m trying to convert a struct to a char array to send over the network. However, I get some weird output from the char array when I do.
#include
You may want to convert to a unsigned char array.