need some coding suggestions

gfvalvo:
Is the byte order swapping really necessary? If not, you could just do:

send_msg(&in);

unfortunately yes... hence the challenge! :slight_smile: